<!DOCTYPE html>
<html lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>create_scaled_shape_model_xld [HALCON算子参考手册]</title>
<style type="text/css">
      body {
    color: #000000;
    background-color: #ffffff;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
}

.body_main {
    margin-left: 35px;
    margin-right: 35px;
}

@media screen and (min-width:992px) {

    .body_main {
        margin-left: 10%;
        margin-right: 10%;
    }

    table.toctable {
        width: 80%
    }
}

@media screen and (min-width:1400px) {

    .body_main {
        margin-left: 15%;
        margin-right: 15%;
    }

    table.toctable {
        width: 70%
    }
}

body>div ul ul {
    margin-left: inherit;
}

a:link {
    color: #0044cc;
}

a:link,
a:visited {
    text-decoration: none;
}

a:link:hover,
a:visited:hover {
    text-decoration: underline;
}

th {
    text-align: left;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    text-rendering: optimizeLegibility;
    color: #666666;
}

code {
    font-family: monospace,monospace;
}

h1 a.halconoperator {
    font-family: Arial, Helvetica, sans-serif;
    color: #666666;
}

h2 a.halconoperator {
    font-family: Arial, Helvetica, sans-serif;
    color: #666666;
}

hr {
    border: 0;
    border-top: solid 1px #f28d26;
}

.pre {
    display: block;
    padding-bottom: 1ex;
    font-family: monospace;
    white-space: pre;
}

pre {
    font-family: monospace, monospace;
    padding: 1ex;
    white-space: pre-wrap;
}

.toc {
    font-size: 80%;
    border-top: 1px dashed #f28d26;
    border-bottom: 1px dashed #f28d26;
    padding-top: 5px;
    padding-bottom: 5px;
}

.inv {
    margin: 0;
    border: 0;
    padding: 0;
}

.banner {
    color: #666666;
    padding-left: 1em;
}

.logo {
    background-color: white;
}

.keyboard {
    font-size: 80%;
    padding-left: 3px;
    padding-right: 3px;
    border-radius: 5px;
    border-width: 1px;
    border-style: solid;
    border-color: #f28d26;
    background-color: #f3f3f3;
}

.warning {
    margin-top: 2ex;
    margin-bottom: 1ex;
    padding: 10px;
    text-align: center;
    border: 1px solid;
    color: #bb0000;
    background-color: #fff7f7
}

.imprint {
    margin-top: 1ex;
    font-size: 80%;
    color: #666666;
}

.imprinthead {
    font-weight: bolder;
    color: #666666;
}

.indexlink {
    text-align: right;
    padding-bottom: 5px;
}

.postscript {
    margin-top: 2ex;
    font-size: 80%;
    color: #666666
}

.evenrow {
    background-color: #e7e7ef;
    vertical-align: top;
}

.oddrow {
    background-color: #f7f7ff;
    vertical-align: top;
}

.headrow {
    background-color: #97979f;
    color: #ffffff;
    vertical-align: top;
}

.logorow {
    vertical-align: top;
}

.error {
    color: red;
}

.var {
    font-style: italic
}

.halconoperator {
    font-family: monospace, monospace;
}

span.operator {
    font-family: monospace, monospace;
}

span.procedure {
    font-family: monospace, monospace;
}

span.operation {
    font-family: monospace, monospace;
}

span.feature {
    font-family: Arial, Helvetica, Homerton, sans-serif;
}

ul {
    padding-left: 1.2em;
}

li.dot {
    list-style-type: square;
    color: #f28d26;
}

.breadcrumb {
    font-size: 80%;
    color: white;
    background-color: #062d64;
    margin-bottom: 20px;
    padding-left: 35px;
    padding-right: 35px;
    padding-bottom: 15px;
}

.webbar {
    font-size: 80%;
    background-color: #dddddd;
    margin-top: 0px;
    margin-left: -35px;
    margin-right: -35px;
    margin-bottom: 0px;
    padding-top: 5px;
    padding-left: 35px;
    padding-right: 35px;
    padding-bottom: 5px;
}

.footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    border-top: 1px dashed #f28d26;
    font-size: 80%;
    color: #666666;
    padding-bottom: 8px;
}

.footer .socialmedia a {
    padding-left: 7px;
}

.socialmedia {
    padding-top: 10px;
}

.copyright {
    margin-top: 19px;
}

.breadcrumb a {
    color: #ffffff;
    border-bottom: 1px solid white;
}

.breadcrumb a:link:hover,
.breadcrumb a:visited:hover {
    text-decoration: none;
    border-bottom: none;
}

.heading {
    margin-top: 1ex;
    font-size: 110%;
    font-weight: bold;
    color: #666666;
}

.text {
    color: black;
}

.example {
    font-size: 80%;
    background-color: #f3f3f3;
    border: 1px dashed #666666;
    padding: 10px;
}

.displaymath {
    display: block;
    text-align: center;
    margin-top: 1ex;
    margin-bottom: 1ex;
}

.title {
    float: left;
    padding-top: 3px;
    padding-bottom: 3px;
}

.signnote {
    font-family: Arial, Helvetica, Homerton, sans-serif;
    font-size: 80%;
    color: #666666;
    font-weight: lighter;
    font-style: italic
}

.par {
    margin-bottom: 1.5em;
}

.parhead {
    text-align: right;
}

.parname {
    float: left;
}

.pardesc {
    font-size: 85%;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    margin-left: 2em;
}

.parcat {
    color: #666;
    font-weight: bold;
}

*[data-if=cpp],
*[data-if=c],
*[data-if=dotnet],
*[data-if=com],
*[data-if=python] {
    display: none;
}

.tabbar {
    text-align: right;
    border-bottom: 1px solid #f28d26;
    margin-bottom: 0.5em;
}

ul.tabs {
    padding-top: 3px;
    padding-bottom: 3px;
    margin-top: 10px;
    margin-bottom: 0;
    font-size: 80%
}

ul.tabs li {
    padding-top: 3px;
    padding-bottom: 3px;
    display: inline;
    overflow: hidden;
    list-style-type: none;
    margin: 0;
    margin-left: 8px;
    border-top: 1px solid #666;
    border-left: 1px solid #666;
    border-right: 1px solid #666;
}

ul.tabs li.active {
    border-left: 1px solid #f28d26;
    border-right: 1px solid #f28d26;
    border-top: 1px solid #f28d26;
    border-bottom: 1px solid #fff;
}

ul.tabs li.inactive {
    background-color: #eee;
}

ul.tabs li a {
    padding-left: 5px;
    padding-right: 5px;
    color: #666;
}

ul.tabs li a:link:hover {
    text-decoration: none;
}

ul.tabs li.inactive a {
    color: #666;
}

ul.tabs li.active a {
    color: black;
}

dl.generic dd {
    margin-bottom: 1em;
}

.pari {
    color: olive;
}

.paro {
    color: maroon;
}

.comment {
    font-size: 80%;
    color: green;
    white-space: nowrap;
}

table.grid {
    border-collapse: collapse;
}

table.grid td {
    padding: 5px;
    border: 1px solid;
}

table.layout {
    border: 0px;
}

table.layout td {
    padding: 5px;
}

table.table {
    border-collapse: collapse;
}

table.table td {
    padding: 5px;
    border-left: 0px;
    border-right: 0px;
}

table.table tr:last-child {
    border-bottom: 1px solid;
}

table.table th {
    padding: 5px;
    border-top: 1px solid;
    border-bottom: 1px solid;
    border-left: 0px;
    border-right: 0px;
}

.details_summary {
    cursor: pointer;
}

table.toctable {
    width: 100%;
}

table.toctable col:first-child {
    width: 20%;
}

table.toctable col:nth-last-child(2) {
    width: 8%;
}

table.altcolored tr:nth-child(even) {
    background-color: #f3f3f3;
}

    </style>
<!--OP_REF_STYLE_END-->
<script>
    <!--
var active_lang='hdevelop';function switchVisibility(obj,active_lang,new_lang)
{var display_style='inline';
for(var i=0;i<obj.length;i++)
{if(obj.item(i).getAttribute('data-if')==new_lang)
{obj.item(i).style.display=display_style;}
if(obj.item(i).getAttribute('data-if')==active_lang)
{obj.item(i).style.display='none';}}
return;}
function toggleLanguage(new_lang,initial)
{if(active_lang!=new_lang)
{var lis=document.getElementsByTagName('li');for(var i=0;i<lis.length;i++)
{if(lis.item(i).id=='syn-'+new_lang)
{lis.item(i).className='active';}
else
{lis.item(i).className='inactive';}}
var divs=document.getElementsByTagName('div');var spans=document.getElementsByTagName('span');switchVisibility(divs,active_lang,new_lang);switchVisibility(spans,active_lang,new_lang);if(!initial)
{setCookie("halcon_reference_language",new_lang,null,null);}
active_lang=new_lang;}
return;}
function setCookie(name,value,domain,exp_offset,path,secure)
{localStorage.setItem(name,value);}
function getCookie(name)
{return localStorage.getItem(name);}
function initialize()
{var qs=location.href.split('?')[1];var qs_lang_raw=location.href.split('interface=')[1];var qs_lang;if(qs_lang_raw)
{qs_lang=qs_lang_raw.split('#')[0];}
var cookie_lang=getCookie("halcon_reference_language");var new_lang;if((qs_lang=="hdevelop")||(qs_lang=="dotnet")||(qs_lang=="python")||(qs_lang=="cpp")||(qs_lang=="c"))
{new_lang=qs_lang;setCookie("halcon_reference_language",new_lang,null,null);}
else if((cookie_lang=="hdevelop")||(cookie_lang=="dotnet")||(cookie_lang=="python")||(cookie_lang=="cpp")||(cookie_lang=="c"))
{new_lang=cookie_lang;}
else
{new_lang="hdevelop";}
toggleLanguage(new_lang,1);return;}
-->

  </script>
</head>
<body onload="initialize();">
<div class="breadcrumb">
<br class="inv"><a href="index.html">目录</a> / <a href="toc_matching.html">Matching</a> / <a href="toc_matching_shapebased.html">Shape-Based</a><br class="inv">
</div>
<div class="body_main">
<div class="tabbar"><ul class="tabs">
<li id="syn-hdevelop" class="active"><a href="javascript:void(0);" onclick="toggleLanguage('hdevelop')" onfocus="blur()">HDevelop</a></li>
<li id="syn-dotnet" class="inactive"><a href="javascript:void(0);" onclick="toggleLanguage('dotnet')" onfocus="blur()">.NET</a></li>
<li id="syn-python" class="inactive"><a href="javascript:void(0);" onclick="toggleLanguage('python')" onfocus="blur()">Python</a></li>
<li id="syn-cpp" class="inactive"><a href="javascript:void(0);" onclick="toggleLanguage('cpp')" onfocus="blur()">C++</a></li>
<li id="syn-c" class="inactive"><a href="javascript:void(0);" onclick="toggleLanguage('c')" onfocus="blur()">C</a></li>
</ul></div>
<div class="indexlink">
<a href="index_classes.html"><span data-if="dotnet" style="display:none;">类别</span><span data-if="cpp" style="display:none;">类别</span></a><span data-if="dotnet" style="display:none;"> | </span><span data-if="cpp" style="display:none;"> | </span><a href="index_by_name.html">算子列表</a>
</div>
<!--OP_REF_HEADER_END-->
<h1 id="sec_name">
<span data-if="hdevelop" style="display:inline;">create_scaled_shape_model_xld</span><span data-if="c" style="display:none;">T_create_scaled_shape_model_xld</span><span data-if="cpp" style="display:none;">CreateScaledShapeModelXld</span><span data-if="dotnet" style="display:none;">CreateScaledShapeModelXld</span><span data-if="python" style="display:none;">create_scaled_shape_model_xld</span> (算子名称)</h1>
<h2>名称</h2>
<p><code><span data-if="hdevelop" style="display:inline;">create_scaled_shape_model_xld</span><span data-if="c" style="display:none;">T_create_scaled_shape_model_xld</span><span data-if="cpp" style="display:none;">CreateScaledShapeModelXld</span><span data-if="dotnet" style="display:none;">CreateScaledShapeModelXld</span><span data-if="python" style="display:none;">create_scaled_shape_model_xld</span></code> — Prepare an isotropically scaled shape model for matching from XLD contours.</p>
<h2 id="sec_synopsis">参数签名</h2>
<div data-if="hdevelop" style="display:inline;">
<p>
<code><b>create_scaled_shape_model_xld</b>(<a href="#Contours"><i>Contours</i></a> :  : <a href="#NumLevels"><i>NumLevels</i></a>, <a href="#AngleStart"><i>AngleStart</i></a>, <a href="#AngleExtent"><i>AngleExtent</i></a>, <a href="#AngleStep"><i>AngleStep</i></a>, <a href="#ScaleMin"><i>ScaleMin</i></a>, <a href="#ScaleMax"><i>ScaleMax</i></a>, <a href="#ScaleStep"><i>ScaleStep</i></a>, <a href="#Optimization"><i>Optimization</i></a>, <a href="#Metric"><i>Metric</i></a>, <a href="#MinContrast"><i>MinContrast</i></a> : <a href="#ModelID"><i>ModelID</i></a>)</code></p>
</div>
<div data-if="c" style="display:none;">
<p>
<code>Herror <b>T_create_scaled_shape_model_xld</b>(const Hobject <a href="#Contours"><i>Contours</i></a>, const Htuple <a href="#NumLevels"><i>NumLevels</i></a>, const Htuple <a href="#AngleStart"><i>AngleStart</i></a>, const Htuple <a href="#AngleExtent"><i>AngleExtent</i></a>, const Htuple <a href="#AngleStep"><i>AngleStep</i></a>, const Htuple <a href="#ScaleMin"><i>ScaleMin</i></a>, const Htuple <a href="#ScaleMax"><i>ScaleMax</i></a>, const Htuple <a href="#ScaleStep"><i>ScaleStep</i></a>, const Htuple <a href="#Optimization"><i>Optimization</i></a>, const Htuple <a href="#Metric"><i>Metric</i></a>, const Htuple <a href="#MinContrast"><i>MinContrast</i></a>, Htuple* <a href="#ModelID"><i>ModelID</i></a>)</code></p>
</div>
<div data-if="cpp" style="display:none;">
<p>
<code>void <b>CreateScaledShapeModelXld</b>(const HObject&amp; <a href="#Contours"><i>Contours</i></a>, const HTuple&amp; <a href="#NumLevels"><i>NumLevels</i></a>, const HTuple&amp; <a href="#AngleStart"><i>AngleStart</i></a>, const HTuple&amp; <a href="#AngleExtent"><i>AngleExtent</i></a>, const HTuple&amp; <a href="#AngleStep"><i>AngleStep</i></a>, const HTuple&amp; <a href="#ScaleMin"><i>ScaleMin</i></a>, const HTuple&amp; <a href="#ScaleMax"><i>ScaleMax</i></a>, const HTuple&amp; <a href="#ScaleStep"><i>ScaleStep</i></a>, const HTuple&amp; <a href="#Optimization"><i>Optimization</i></a>, const HTuple&amp; <a href="#Metric"><i>Metric</i></a>, const HTuple&amp; <a href="#MinContrast"><i>MinContrast</i></a>, HTuple* <a href="#ModelID"><i>ModelID</i></a>)</code></p>
<p>
<code>void <a href="HShapeModel.html">HShapeModel</a>::<b>HShapeModel</b>(const HXLDCont&amp; <a href="#Contours"><i>Contours</i></a>, const HTuple&amp; <a href="#NumLevels"><i>NumLevels</i></a>, double <a href="#AngleStart"><i>AngleStart</i></a>, double <a href="#AngleExtent"><i>AngleExtent</i></a>, const HTuple&amp; <a href="#AngleStep"><i>AngleStep</i></a>, double <a href="#ScaleMin"><i>ScaleMin</i></a>, double <a href="#ScaleMax"><i>ScaleMax</i></a>, const HTuple&amp; <a href="#ScaleStep"><i>ScaleStep</i></a>, const HTuple&amp; <a href="#Optimization"><i>Optimization</i></a>, const HString&amp; <a href="#Metric"><i>Metric</i></a>, Hlong <a href="#MinContrast"><i>MinContrast</i></a>)</code></p>
<p>
<code>void <a href="HShapeModel.html">HShapeModel</a>::<b>HShapeModel</b>(const HXLDCont&amp; <a href="#Contours"><i>Contours</i></a>, Hlong <a href="#NumLevels"><i>NumLevels</i></a>, double <a href="#AngleStart"><i>AngleStart</i></a>, double <a href="#AngleExtent"><i>AngleExtent</i></a>, double <a href="#AngleStep"><i>AngleStep</i></a>, double <a href="#ScaleMin"><i>ScaleMin</i></a>, double <a href="#ScaleMax"><i>ScaleMax</i></a>, double <a href="#ScaleStep"><i>ScaleStep</i></a>, const HString&amp; <a href="#Optimization"><i>Optimization</i></a>, const HString&amp; <a href="#Metric"><i>Metric</i></a>, Hlong <a href="#MinContrast"><i>MinContrast</i></a>)</code></p>
<p>
<code>void <a href="HShapeModel.html">HShapeModel</a>::<b>HShapeModel</b>(const HXLDCont&amp; <a href="#Contours"><i>Contours</i></a>, Hlong <a href="#NumLevels"><i>NumLevels</i></a>, double <a href="#AngleStart"><i>AngleStart</i></a>, double <a href="#AngleExtent"><i>AngleExtent</i></a>, double <a href="#AngleStep"><i>AngleStep</i></a>, double <a href="#ScaleMin"><i>ScaleMin</i></a>, double <a href="#ScaleMax"><i>ScaleMax</i></a>, double <a href="#ScaleStep"><i>ScaleStep</i></a>, const char* <a href="#Optimization"><i>Optimization</i></a>, const char* <a href="#Metric"><i>Metric</i></a>, Hlong <a href="#MinContrast"><i>MinContrast</i></a>)</code></p>
<p>
<code>void <a href="HShapeModel.html">HShapeModel</a>::<b>HShapeModel</b>(const HXLDCont&amp; <a href="#Contours"><i>Contours</i></a>, Hlong <a href="#NumLevels"><i>NumLevels</i></a>, double <a href="#AngleStart"><i>AngleStart</i></a>, double <a href="#AngleExtent"><i>AngleExtent</i></a>, double <a href="#AngleStep"><i>AngleStep</i></a>, double <a href="#ScaleMin"><i>ScaleMin</i></a>, double <a href="#ScaleMax"><i>ScaleMax</i></a>, double <a href="#ScaleStep"><i>ScaleStep</i></a>, const wchar_t* <a href="#Optimization"><i>Optimization</i></a>, const wchar_t* <a href="#Metric"><i>Metric</i></a>, Hlong <a href="#MinContrast"><i>MinContrast</i></a>)  <span class="signnote">
            (
            Windows only)
          </span></code></p>
<p>
<code>void <a href="HShapeModel.html">HShapeModel</a>::<b>CreateScaledShapeModelXld</b>(const HXLDCont&amp; <a href="#Contours"><i>Contours</i></a>, const HTuple&amp; <a href="#NumLevels"><i>NumLevels</i></a>, double <a href="#AngleStart"><i>AngleStart</i></a>, double <a href="#AngleExtent"><i>AngleExtent</i></a>, const HTuple&amp; <a href="#AngleStep"><i>AngleStep</i></a>, double <a href="#ScaleMin"><i>ScaleMin</i></a>, double <a href="#ScaleMax"><i>ScaleMax</i></a>, const HTuple&amp; <a href="#ScaleStep"><i>ScaleStep</i></a>, const HTuple&amp; <a href="#Optimization"><i>Optimization</i></a>, const HString&amp; <a href="#Metric"><i>Metric</i></a>, Hlong <a href="#MinContrast"><i>MinContrast</i></a>)</code></p>
<p>
<code>void <a href="HShapeModel.html">HShapeModel</a>::<b>CreateScaledShapeModelXld</b>(const HXLDCont&amp; <a href="#Contours"><i>Contours</i></a>, Hlong <a href="#NumLevels"><i>NumLevels</i></a>, double <a href="#AngleStart"><i>AngleStart</i></a>, double <a href="#AngleExtent"><i>AngleExtent</i></a>, double <a href="#AngleStep"><i>AngleStep</i></a>, double <a href="#ScaleMin"><i>ScaleMin</i></a>, double <a href="#ScaleMax"><i>ScaleMax</i></a>, double <a href="#ScaleStep"><i>ScaleStep</i></a>, const HString&amp; <a href="#Optimization"><i>Optimization</i></a>, const HString&amp; <a href="#Metric"><i>Metric</i></a>, Hlong <a href="#MinContrast"><i>MinContrast</i></a>)</code></p>
<p>
<code>void <a href="HShapeModel.html">HShapeModel</a>::<b>CreateScaledShapeModelXld</b>(const HXLDCont&amp; <a href="#Contours"><i>Contours</i></a>, Hlong <a href="#NumLevels"><i>NumLevels</i></a>, double <a href="#AngleStart"><i>AngleStart</i></a>, double <a href="#AngleExtent"><i>AngleExtent</i></a>, double <a href="#AngleStep"><i>AngleStep</i></a>, double <a href="#ScaleMin"><i>ScaleMin</i></a>, double <a href="#ScaleMax"><i>ScaleMax</i></a>, double <a href="#ScaleStep"><i>ScaleStep</i></a>, const char* <a href="#Optimization"><i>Optimization</i></a>, const char* <a href="#Metric"><i>Metric</i></a>, Hlong <a href="#MinContrast"><i>MinContrast</i></a>)</code></p>
<p>
<code>void <a href="HShapeModel.html">HShapeModel</a>::<b>CreateScaledShapeModelXld</b>(const HXLDCont&amp; <a href="#Contours"><i>Contours</i></a>, Hlong <a href="#NumLevels"><i>NumLevels</i></a>, double <a href="#AngleStart"><i>AngleStart</i></a>, double <a href="#AngleExtent"><i>AngleExtent</i></a>, double <a href="#AngleStep"><i>AngleStep</i></a>, double <a href="#ScaleMin"><i>ScaleMin</i></a>, double <a href="#ScaleMax"><i>ScaleMax</i></a>, double <a href="#ScaleStep"><i>ScaleStep</i></a>, const wchar_t* <a href="#Optimization"><i>Optimization</i></a>, const wchar_t* <a href="#Metric"><i>Metric</i></a>, Hlong <a href="#MinContrast"><i>MinContrast</i></a>)  <span class="signnote">
            (
            Windows only)
          </span></code></p>
<p>
<code><a href="HShapeModel.html">HShapeModel</a> <a href="HXLDCont.html">HXLDCont</a>::<b>CreateScaledShapeModelXld</b>(const HTuple&amp; <a href="#NumLevels"><i>NumLevels</i></a>, double <a href="#AngleStart"><i>AngleStart</i></a>, double <a href="#AngleExtent"><i>AngleExtent</i></a>, const HTuple&amp; <a href="#AngleStep"><i>AngleStep</i></a>, double <a href="#ScaleMin"><i>ScaleMin</i></a>, double <a href="#ScaleMax"><i>ScaleMax</i></a>, const HTuple&amp; <a href="#ScaleStep"><i>ScaleStep</i></a>, const HTuple&amp; <a href="#Optimization"><i>Optimization</i></a>, const HString&amp; <a href="#Metric"><i>Metric</i></a>, Hlong <a href="#MinContrast"><i>MinContrast</i></a>) const</code></p>
<p>
<code><a href="HShapeModel.html">HShapeModel</a> <a href="HXLDCont.html">HXLDCont</a>::<b>CreateScaledShapeModelXld</b>(Hlong <a href="#NumLevels"><i>NumLevels</i></a>, double <a href="#AngleStart"><i>AngleStart</i></a>, double <a href="#AngleExtent"><i>AngleExtent</i></a>, double <a href="#AngleStep"><i>AngleStep</i></a>, double <a href="#ScaleMin"><i>ScaleMin</i></a>, double <a href="#ScaleMax"><i>ScaleMax</i></a>, double <a href="#ScaleStep"><i>ScaleStep</i></a>, const HString&amp; <a href="#Optimization"><i>Optimization</i></a>, const HString&amp; <a href="#Metric"><i>Metric</i></a>, Hlong <a href="#MinContrast"><i>MinContrast</i></a>) const</code></p>
<p>
<code><a href="HShapeModel.html">HShapeModel</a> <a href="HXLDCont.html">HXLDCont</a>::<b>CreateScaledShapeModelXld</b>(Hlong <a href="#NumLevels"><i>NumLevels</i></a>, double <a href="#AngleStart"><i>AngleStart</i></a>, double <a href="#AngleExtent"><i>AngleExtent</i></a>, double <a href="#AngleStep"><i>AngleStep</i></a>, double <a href="#ScaleMin"><i>ScaleMin</i></a>, double <a href="#ScaleMax"><i>ScaleMax</i></a>, double <a href="#ScaleStep"><i>ScaleStep</i></a>, const char* <a href="#Optimization"><i>Optimization</i></a>, const char* <a href="#Metric"><i>Metric</i></a>, Hlong <a href="#MinContrast"><i>MinContrast</i></a>) const</code></p>
<p>
<code><a href="HShapeModel.html">HShapeModel</a> <a href="HXLDCont.html">HXLDCont</a>::<b>CreateScaledShapeModelXld</b>(Hlong <a href="#NumLevels"><i>NumLevels</i></a>, double <a href="#AngleStart"><i>AngleStart</i></a>, double <a href="#AngleExtent"><i>AngleExtent</i></a>, double <a href="#AngleStep"><i>AngleStep</i></a>, double <a href="#ScaleMin"><i>ScaleMin</i></a>, double <a href="#ScaleMax"><i>ScaleMax</i></a>, double <a href="#ScaleStep"><i>ScaleStep</i></a>, const wchar_t* <a href="#Optimization"><i>Optimization</i></a>, const wchar_t* <a href="#Metric"><i>Metric</i></a>, Hlong <a href="#MinContrast"><i>MinContrast</i></a>) const  <span class="signnote">
            (
            Windows only)
          </span></code></p>
</div>
<div data-if="com" style="display:none;"></div>
<div data-if="dotnet" style="display:none;">
<p>
<code>static void <a href="HOperatorSet.html">HOperatorSet</a>.<b>CreateScaledShapeModelXld</b>(<a href="HObject.html">HObject</a> <a href="#Contours"><i>contours</i></a>, <a href="HTuple.html">HTuple</a> <a href="#NumLevels"><i>numLevels</i></a>, <a href="HTuple.html">HTuple</a> <a href="#AngleStart"><i>angleStart</i></a>, <a href="HTuple.html">HTuple</a> <a href="#AngleExtent"><i>angleExtent</i></a>, <a href="HTuple.html">HTuple</a> <a href="#AngleStep"><i>angleStep</i></a>, <a href="HTuple.html">HTuple</a> <a href="#ScaleMin"><i>scaleMin</i></a>, <a href="HTuple.html">HTuple</a> <a href="#ScaleMax"><i>scaleMax</i></a>, <a href="HTuple.html">HTuple</a> <a href="#ScaleStep"><i>scaleStep</i></a>, <a href="HTuple.html">HTuple</a> <a href="#Optimization"><i>optimization</i></a>, <a href="HTuple.html">HTuple</a> <a href="#Metric"><i>metric</i></a>, <a href="HTuple.html">HTuple</a> <a href="#MinContrast"><i>minContrast</i></a>, out <a href="HTuple.html">HTuple</a> <a href="#ModelID"><i>modelID</i></a>)</code></p>
<p>
<code>public <a href="HShapeModel.html">HShapeModel</a>(<a href="HXLDCont.html">HXLDCont</a> <a href="#Contours"><i>contours</i></a>, <a href="HTuple.html">HTuple</a> <a href="#NumLevels"><i>numLevels</i></a>, double <a href="#AngleStart"><i>angleStart</i></a>, double <a href="#AngleExtent"><i>angleExtent</i></a>, <a href="HTuple.html">HTuple</a> <a href="#AngleStep"><i>angleStep</i></a>, double <a href="#ScaleMin"><i>scaleMin</i></a>, double <a href="#ScaleMax"><i>scaleMax</i></a>, <a href="HTuple.html">HTuple</a> <a href="#ScaleStep"><i>scaleStep</i></a>, <a href="HTuple.html">HTuple</a> <a href="#Optimization"><i>optimization</i></a>, string <a href="#Metric"><i>metric</i></a>, int <a href="#MinContrast"><i>minContrast</i></a>)</code></p>
<p>
<code>public <a href="HShapeModel.html">HShapeModel</a>(<a href="HXLDCont.html">HXLDCont</a> <a href="#Contours"><i>contours</i></a>, int <a href="#NumLevels"><i>numLevels</i></a>, double <a href="#AngleStart"><i>angleStart</i></a>, double <a href="#AngleExtent"><i>angleExtent</i></a>, double <a href="#AngleStep"><i>angleStep</i></a>, double <a href="#ScaleMin"><i>scaleMin</i></a>, double <a href="#ScaleMax"><i>scaleMax</i></a>, double <a href="#ScaleStep"><i>scaleStep</i></a>, string <a href="#Optimization"><i>optimization</i></a>, string <a href="#Metric"><i>metric</i></a>, int <a href="#MinContrast"><i>minContrast</i></a>)</code></p>
<p>
<code>void <a href="HShapeModel.html">HShapeModel</a>.<b>CreateScaledShapeModelXld</b>(<a href="HXLDCont.html">HXLDCont</a> <a href="#Contours"><i>contours</i></a>, <a href="HTuple.html">HTuple</a> <a href="#NumLevels"><i>numLevels</i></a>, double <a href="#AngleStart"><i>angleStart</i></a>, double <a href="#AngleExtent"><i>angleExtent</i></a>, <a href="HTuple.html">HTuple</a> <a href="#AngleStep"><i>angleStep</i></a>, double <a href="#ScaleMin"><i>scaleMin</i></a>, double <a href="#ScaleMax"><i>scaleMax</i></a>, <a href="HTuple.html">HTuple</a> <a href="#ScaleStep"><i>scaleStep</i></a>, <a href="HTuple.html">HTuple</a> <a href="#Optimization"><i>optimization</i></a>, string <a href="#Metric"><i>metric</i></a>, int <a href="#MinContrast"><i>minContrast</i></a>)</code></p>
<p>
<code>void <a href="HShapeModel.html">HShapeModel</a>.<b>CreateScaledShapeModelXld</b>(<a href="HXLDCont.html">HXLDCont</a> <a href="#Contours"><i>contours</i></a>, int <a href="#NumLevels"><i>numLevels</i></a>, double <a href="#AngleStart"><i>angleStart</i></a>, double <a href="#AngleExtent"><i>angleExtent</i></a>, double <a href="#AngleStep"><i>angleStep</i></a>, double <a href="#ScaleMin"><i>scaleMin</i></a>, double <a href="#ScaleMax"><i>scaleMax</i></a>, double <a href="#ScaleStep"><i>scaleStep</i></a>, string <a href="#Optimization"><i>optimization</i></a>, string <a href="#Metric"><i>metric</i></a>, int <a href="#MinContrast"><i>minContrast</i></a>)</code></p>
<p>
<code><a href="HShapeModel.html">HShapeModel</a> <a href="HXLDCont.html">HXLDCont</a>.<b>CreateScaledShapeModelXld</b>(<a href="HTuple.html">HTuple</a> <a href="#NumLevels"><i>numLevels</i></a>, double <a href="#AngleStart"><i>angleStart</i></a>, double <a href="#AngleExtent"><i>angleExtent</i></a>, <a href="HTuple.html">HTuple</a> <a href="#AngleStep"><i>angleStep</i></a>, double <a href="#ScaleMin"><i>scaleMin</i></a>, double <a href="#ScaleMax"><i>scaleMax</i></a>, <a href="HTuple.html">HTuple</a> <a href="#ScaleStep"><i>scaleStep</i></a>, <a href="HTuple.html">HTuple</a> <a href="#Optimization"><i>optimization</i></a>, string <a href="#Metric"><i>metric</i></a>, int <a href="#MinContrast"><i>minContrast</i></a>)</code></p>
<p>
<code><a href="HShapeModel.html">HShapeModel</a> <a href="HXLDCont.html">HXLDCont</a>.<b>CreateScaledShapeModelXld</b>(int <a href="#NumLevels"><i>numLevels</i></a>, double <a href="#AngleStart"><i>angleStart</i></a>, double <a href="#AngleExtent"><i>angleExtent</i></a>, double <a href="#AngleStep"><i>angleStep</i></a>, double <a href="#ScaleMin"><i>scaleMin</i></a>, double <a href="#ScaleMax"><i>scaleMax</i></a>, double <a href="#ScaleStep"><i>scaleStep</i></a>, string <a href="#Optimization"><i>optimization</i></a>, string <a href="#Metric"><i>metric</i></a>, int <a href="#MinContrast"><i>minContrast</i></a>)</code></p>
</div>
<div data-if="python" style="display:none;">
<p>
<code>def <b>create_scaled_shape_model_xld</b>(<a href="#Contours"><i>contours</i></a>: HObject, <a href="#NumLevels"><i>num_levels</i></a>: Union[int, str], <a href="#AngleStart"><i>angle_start</i></a>: float, <a href="#AngleExtent"><i>angle_extent</i></a>: float, <a href="#AngleStep"><i>angle_step</i></a>: Union[float, str], <a href="#ScaleMin"><i>scale_min</i></a>: float, <a href="#ScaleMax"><i>scale_max</i></a>: float, <a href="#ScaleStep"><i>scale_step</i></a>: Union[float, str], <a href="#Optimization"><i>optimization</i></a>: MaybeSequence[str], <a href="#Metric"><i>metric</i></a>: str, <a href="#MinContrast"><i>min_contrast</i></a>: int) -&gt; HHandle</code></p>
</div>
<h2 id="sec_description">描述</h2>
<p>该算子 <code><span data-if="hdevelop" style="display:inline">create_scaled_shape_model_xld</span><span data-if="c" style="display:none">create_scaled_shape_model_xld</span><span data-if="cpp" style="display:none">CreateScaledShapeModelXld</span><span data-if="com" style="display:none">CreateScaledShapeModelXld</span><span data-if="dotnet" style="display:none">CreateScaledShapeModelXld</span><span data-if="python" style="display:none">create_scaled_shape_model_xld</span></code> creates an isotropically
scaled shape model used for matching from the XLD contours passed in
<a href="#Contours"><i><code><span data-if="hdevelop" style="display:inline">Contours</span><span data-if="c" style="display:none">Contours</span><span data-if="cpp" style="display:none">Contours</span><span data-if="com" style="display:none">Contours</span><span data-if="dotnet" style="display:none">contours</span><span data-if="python" style="display:none">contours</span></code></i></a>.  The XLD contours represent the gray value edges of the
object to be searched for.  In contrast to 该算子
<a href="create_scaled_shape_model.html"><code><span data-if="hdevelop" style="display:inline">create_scaled_shape_model</span><span data-if="c" style="display:none">create_scaled_shape_model</span><span data-if="cpp" style="display:none">CreateScaledShapeModel</span><span data-if="com" style="display:none">CreateScaledShapeModel</span><span data-if="dotnet" style="display:none">CreateScaledShapeModel</span><span data-if="python" style="display:none">create_scaled_shape_model</span></code></a>, which creates a shape model from a
template image, 该算子 <code><span data-if="hdevelop" style="display:inline">create_scaled_shape_model_xld</span><span data-if="c" style="display:none">create_scaled_shape_model_xld</span><span data-if="cpp" style="display:none">CreateScaledShapeModelXld</span><span data-if="com" style="display:none">CreateScaledShapeModelXld</span><span data-if="dotnet" style="display:none">CreateScaledShapeModelXld</span><span data-if="python" style="display:none">create_scaled_shape_model_xld</span></code> creates
the shape model from XLD contours, i.e., without the use of a template
image.
</p>
<p>The output parameter <a href="#ModelID"><i><code><span data-if="hdevelop" style="display:inline">ModelID</span><span data-if="c" style="display:none">ModelID</span><span data-if="cpp" style="display:none">ModelID</span><span data-if="com" style="display:none">ModelID</span><span data-if="dotnet" style="display:none">modelID</span><span data-if="python" style="display:none">model_id</span></code></i></a> is
a handle for this model, which is used in subsequent calls to
<a href="find_scaled_shape_model.html"><code><span data-if="hdevelop" style="display:inline">find_scaled_shape_model</span><span data-if="c" style="display:none">find_scaled_shape_model</span><span data-if="cpp" style="display:none">FindScaledShapeModel</span><span data-if="com" style="display:none">FindScaledShapeModel</span><span data-if="dotnet" style="display:none">FindScaledShapeModel</span><span data-if="python" style="display:none">find_scaled_shape_model</span></code></a>. The center of gravity of the smallest
surrounding rectangle of the <a href="#Contours"><i><code><span data-if="hdevelop" style="display:inline">Contours</span><span data-if="c" style="display:none">Contours</span><span data-if="cpp" style="display:none">Contours</span><span data-if="com" style="display:none">Contours</span><span data-if="dotnet" style="display:none">contours</span><span data-if="python" style="display:none">contours</span></code></i></a> that is parallel to the
coordinate axes is used as the origin (reference point) of the model.
A different origin can be set with <a href="set_shape_model_origin.html"><code><span data-if="hdevelop" style="display:inline">set_shape_model_origin</span><span data-if="c" style="display:none">set_shape_model_origin</span><span data-if="cpp" style="display:none">SetShapeModelOrigin</span><span data-if="com" style="display:none">SetShapeModelOrigin</span><span data-if="dotnet" style="display:none">SetShapeModelOrigin</span><span data-if="python" style="display:none">set_shape_model_origin</span></code></a>. The model
is generated for multiple image pyramid levels and is stored in memory.  If
a complete pregeneration of the model is selected (see below), the model
is generated at multiple rotations and scales on each level. The model can
be extended by clutter parameters with <a href="set_shape_model_clutter.html"><code><span data-if="hdevelop" style="display:inline">set_shape_model_clutter</span><span data-if="c" style="display:none">set_shape_model_clutter</span><span data-if="cpp" style="display:none">SetShapeModelClutter</span><span data-if="com" style="display:none">SetShapeModelClutter</span><span data-if="dotnet" style="display:none">SetShapeModelClutter</span><span data-if="python" style="display:none">set_shape_model_clutter</span></code></a>.
</p>
<h3>Input parameters in detail</h3>
<dl class="generic">

<dt><b><a href="#NumLevels"><i><code><span data-if="hdevelop" style="display:inline">NumLevels</span><span data-if="c" style="display:none">NumLevels</span><span data-if="cpp" style="display:none">NumLevels</span><span data-if="com" style="display:none">NumLevels</span><span data-if="dotnet" style="display:none">numLevels</span><span data-if="python" style="display:none">num_levels</span></code></i></a>:</b></dt>
<dd>
<p>

The number of pyramid levels is determined with the parameter
<a href="#NumLevels"><i><code><span data-if="hdevelop" style="display:inline">NumLevels</span><span data-if="c" style="display:none">NumLevels</span><span data-if="cpp" style="display:none">NumLevels</span><span data-if="com" style="display:none">NumLevels</span><span data-if="dotnet" style="display:none">numLevels</span><span data-if="python" style="display:none">num_levels</span></code></i></a>.  It should be chosen as large as possible because by this
the time necessary to find the object is significantly reduced.  On the other
hand, <a href="#NumLevels"><i><code><span data-if="hdevelop" style="display:inline">NumLevels</span><span data-if="c" style="display:none">NumLevels</span><span data-if="cpp" style="display:none">NumLevels</span><span data-if="com" style="display:none">NumLevels</span><span data-if="dotnet" style="display:none">numLevels</span><span data-if="python" style="display:none">num_levels</span></code></i></a> must be chosen such that the model is still
recognizable and contains a sufficient number of points (at least four) on
the highest pyramid level.  If not enough model points are generated, the
number of pyramid levels is reduced internally until enough model points are
found on the highest pyramid level.  If this procedure would lead to a model
with no pyramid levels, i.e., if the number of model points is already too
small on the lowest pyramid level, <code><span data-if="hdevelop" style="display:inline">create_scaled_shape_model_xld</span><span data-if="c" style="display:none">create_scaled_shape_model_xld</span><span data-if="cpp" style="display:none">CreateScaledShapeModelXld</span><span data-if="com" style="display:none">CreateScaledShapeModelXld</span><span data-if="dotnet" style="display:none">CreateScaledShapeModelXld</span><span data-if="python" style="display:none">create_scaled_shape_model_xld</span></code>
returns with an error message.
</p>
<p>If <a href="#NumLevels"><i><code><span data-if="hdevelop" style="display:inline">NumLevels</span><span data-if="c" style="display:none">NumLevels</span><span data-if="cpp" style="display:none">NumLevels</span><span data-if="com" style="display:none">NumLevels</span><span data-if="dotnet" style="display:none">numLevels</span><span data-if="python" style="display:none">num_levels</span></code></i></a> is set to <i><span data-if="hdevelop" style="display:inline">'auto'</span><span data-if="c" style="display:none">"auto"</span><span data-if="cpp" style="display:none">"auto"</span><span data-if="com" style="display:none">"auto"</span><span data-if="dotnet" style="display:none">"auto"</span><span data-if="python" style="display:none">"auto"</span></i>,
<code><span data-if="hdevelop" style="display:inline">create_scaled_shape_model_xld</span><span data-if="c" style="display:none">create_scaled_shape_model_xld</span><span data-if="cpp" style="display:none">CreateScaledShapeModelXld</span><span data-if="com" style="display:none">CreateScaledShapeModelXld</span><span data-if="dotnet" style="display:none">CreateScaledShapeModelXld</span><span data-if="python" style="display:none">create_scaled_shape_model_xld</span></code> determines the number of pyramid
levels automatically.  The computed number of pyramid levels can
be queried using <a href="get_shape_model_params.html"><code><span data-if="hdevelop" style="display:inline">get_shape_model_params</span><span data-if="c" style="display:none">get_shape_model_params</span><span data-if="cpp" style="display:none">GetShapeModelParams</span><span data-if="com" style="display:none">GetShapeModelParams</span><span data-if="dotnet" style="display:none">GetShapeModelParams</span><span data-if="python" style="display:none">get_shape_model_params</span></code></a>.  In rare cases, it might
happen that <code><span data-if="hdevelop" style="display:inline">create_scaled_shape_model_xld</span><span data-if="c" style="display:none">create_scaled_shape_model_xld</span><span data-if="cpp" style="display:none">CreateScaledShapeModelXld</span><span data-if="com" style="display:none">CreateScaledShapeModelXld</span><span data-if="dotnet" style="display:none">CreateScaledShapeModelXld</span><span data-if="python" style="display:none">create_scaled_shape_model_xld</span></code> determines a value for the
number of pyramid levels that is too large or too small.  If the number of
pyramid levels is chosen too large, the model may not be recognized in the
image or it may be necessary to select very low parameters for
<code><span data-if="hdevelop" style="display:inline">MinScore</span><span data-if="c" style="display:none">MinScore</span><span data-if="cpp" style="display:none">MinScore</span><span data-if="com" style="display:none">MinScore</span><span data-if="dotnet" style="display:none">minScore</span><span data-if="python" style="display:none">min_score</span></code> or <code><span data-if="hdevelop" style="display:inline">Greediness</span><span data-if="c" style="display:none">Greediness</span><span data-if="cpp" style="display:none">Greediness</span><span data-if="com" style="display:none">Greediness</span><span data-if="dotnet" style="display:none">greediness</span><span data-if="python" style="display:none">greediness</span></code> in
<a href="find_scaled_shape_model.html"><code><span data-if="hdevelop" style="display:inline">find_scaled_shape_model</span><span data-if="c" style="display:none">find_scaled_shape_model</span><span data-if="cpp" style="display:none">FindScaledShapeModel</span><span data-if="com" style="display:none">FindScaledShapeModel</span><span data-if="dotnet" style="display:none">FindScaledShapeModel</span><span data-if="python" style="display:none">find_scaled_shape_model</span></code></a> in order to find the model. If the number
of pyramid levels is chosen too small, the time required to find
the model in <a href="find_scaled_shape_model.html"><code><span data-if="hdevelop" style="display:inline">find_scaled_shape_model</span><span data-if="c" style="display:none">find_scaled_shape_model</span><span data-if="cpp" style="display:none">FindScaledShapeModel</span><span data-if="com" style="display:none">FindScaledShapeModel</span><span data-if="dotnet" style="display:none">FindScaledShapeModel</span><span data-if="python" style="display:none">find_scaled_shape_model</span></code></a> may increase.  In these cases,
the number of pyramid levels should be selected manually.
</p>
</dd>

<dt><b><a href="#AngleStart"><i><code><span data-if="hdevelop" style="display:inline">AngleStart</span><span data-if="c" style="display:none">AngleStart</span><span data-if="cpp" style="display:none">AngleStart</span><span data-if="com" style="display:none">AngleStart</span><span data-if="dotnet" style="display:none">angleStart</span><span data-if="python" style="display:none">angle_start</span></code></i></a>, <a href="#AngleExtent"><i><code><span data-if="hdevelop" style="display:inline">AngleExtent</span><span data-if="c" style="display:none">AngleExtent</span><span data-if="cpp" style="display:none">AngleExtent</span><span data-if="com" style="display:none">AngleExtent</span><span data-if="dotnet" style="display:none">angleExtent</span><span data-if="python" style="display:none">angle_extent</span></code></i></a>, and <a href="#AngleStep"><i><code><span data-if="hdevelop" style="display:inline">AngleStep</span><span data-if="c" style="display:none">AngleStep</span><span data-if="cpp" style="display:none">AngleStep</span><span data-if="com" style="display:none">AngleStep</span><span data-if="dotnet" style="display:none">angleStep</span><span data-if="python" style="display:none">angle_step</span></code></i></a>:</b></dt>
<dd>
<p>

The parameters <a href="#AngleStart"><i><code><span data-if="hdevelop" style="display:inline">AngleStart</span><span data-if="c" style="display:none">AngleStart</span><span data-if="cpp" style="display:none">AngleStart</span><span data-if="com" style="display:none">AngleStart</span><span data-if="dotnet" style="display:none">angleStart</span><span data-if="python" style="display:none">angle_start</span></code></i></a> and <a href="#AngleExtent"><i><code><span data-if="hdevelop" style="display:inline">AngleExtent</span><span data-if="c" style="display:none">AngleExtent</span><span data-if="cpp" style="display:none">AngleExtent</span><span data-if="com" style="display:none">AngleExtent</span><span data-if="dotnet" style="display:none">angleExtent</span><span data-if="python" style="display:none">angle_extent</span></code></i></a> determine the
range of possible rotations, in which the object can occur in the image
during the search.  Note that the object can only be found in this range of
angles by <a href="find_scaled_shape_model.html"><code><span data-if="hdevelop" style="display:inline">find_scaled_shape_model</span><span data-if="c" style="display:none">find_scaled_shape_model</span><span data-if="cpp" style="display:none">FindScaledShapeModel</span><span data-if="com" style="display:none">FindScaledShapeModel</span><span data-if="dotnet" style="display:none">FindScaledShapeModel</span><span data-if="python" style="display:none">find_scaled_shape_model</span></code></a>.  The parameter <a href="#AngleStep"><i><code><span data-if="hdevelop" style="display:inline">AngleStep</span><span data-if="c" style="display:none">AngleStep</span><span data-if="cpp" style="display:none">AngleStep</span><span data-if="com" style="display:none">AngleStep</span><span data-if="dotnet" style="display:none">angleStep</span><span data-if="python" style="display:none">angle_step</span></code></i></a>
determines the step length within the selected range of angles.  Hence, if
subpixel accuracy is not specified in <a href="find_scaled_shape_model.html"><code><span data-if="hdevelop" style="display:inline">find_scaled_shape_model</span><span data-if="c" style="display:none">find_scaled_shape_model</span><span data-if="cpp" style="display:none">FindScaledShapeModel</span><span data-if="com" style="display:none">FindScaledShapeModel</span><span data-if="dotnet" style="display:none">FindScaledShapeModel</span><span data-if="python" style="display:none">find_scaled_shape_model</span></code></a>, this
parameter specifies the accuracy that is achievable for the angles in
<a href="find_scaled_shape_model.html"><code><span data-if="hdevelop" style="display:inline">find_scaled_shape_model</span><span data-if="c" style="display:none">find_scaled_shape_model</span><span data-if="cpp" style="display:none">FindScaledShapeModel</span><span data-if="com" style="display:none">FindScaledShapeModel</span><span data-if="dotnet" style="display:none">FindScaledShapeModel</span><span data-if="python" style="display:none">find_scaled_shape_model</span></code></a>.  <a href="#AngleStep"><i><code><span data-if="hdevelop" style="display:inline">AngleStep</span><span data-if="c" style="display:none">AngleStep</span><span data-if="cpp" style="display:none">AngleStep</span><span data-if="com" style="display:none">AngleStep</span><span data-if="dotnet" style="display:none">angleStep</span><span data-if="python" style="display:none">angle_step</span></code></i></a> should be chosen based
on the size of the object.  Smaller models do not have many different
discrete rotations in the image, and hence <a href="#AngleStep"><i><code><span data-if="hdevelop" style="display:inline">AngleStep</span><span data-if="c" style="display:none">AngleStep</span><span data-if="cpp" style="display:none">AngleStep</span><span data-if="com" style="display:none">AngleStep</span><span data-if="dotnet" style="display:none">angleStep</span><span data-if="python" style="display:none">angle_step</span></code></i></a> should be
chosen larger for smaller models.  If <a href="#AngleExtent"><i><code><span data-if="hdevelop" style="display:inline">AngleExtent</span><span data-if="c" style="display:none">AngleExtent</span><span data-if="cpp" style="display:none">AngleExtent</span><span data-if="com" style="display:none">AngleExtent</span><span data-if="dotnet" style="display:none">angleExtent</span><span data-if="python" style="display:none">angle_extent</span></code></i></a> is not an integer
multiple of <a href="#AngleStep"><i><code><span data-if="hdevelop" style="display:inline">AngleStep</span><span data-if="c" style="display:none">AngleStep</span><span data-if="cpp" style="display:none">AngleStep</span><span data-if="com" style="display:none">AngleStep</span><span data-if="dotnet" style="display:none">angleStep</span><span data-if="python" style="display:none">angle_step</span></code></i></a>, <a href="#AngleStep"><i><code><span data-if="hdevelop" style="display:inline">AngleStep</span><span data-if="c" style="display:none">AngleStep</span><span data-if="cpp" style="display:none">AngleStep</span><span data-if="com" style="display:none">AngleStep</span><span data-if="dotnet" style="display:none">angleStep</span><span data-if="python" style="display:none">angle_step</span></code></i></a> is modified accordingly.
To ensure that for model instances without rotation angle values of
exactly 0.0 are returned by <a href="find_scaled_shape_model.html"><code><span data-if="hdevelop" style="display:inline">find_scaled_shape_model</span><span data-if="c" style="display:none">find_scaled_shape_model</span><span data-if="cpp" style="display:none">FindScaledShapeModel</span><span data-if="com" style="display:none">FindScaledShapeModel</span><span data-if="dotnet" style="display:none">FindScaledShapeModel</span><span data-if="python" style="display:none">find_scaled_shape_model</span></code></a>,
the range of possible
rotations is modified as follows: If there is no positive integer
value n such that <a href="#AngleStart"><i><code><span data-if="hdevelop" style="display:inline">AngleStart</span><span data-if="c" style="display:none">AngleStart</span><span data-if="cpp" style="display:none">AngleStart</span><span data-if="com" style="display:none">AngleStart</span><span data-if="dotnet" style="display:none">angleStart</span><span data-if="python" style="display:none">angle_start</span></code></i></a> plus n times
<a href="#AngleStep"><i><code><span data-if="hdevelop" style="display:inline">AngleStep</span><span data-if="c" style="display:none">AngleStep</span><span data-if="cpp" style="display:none">AngleStep</span><span data-if="com" style="display:none">AngleStep</span><span data-if="dotnet" style="display:none">angleStep</span><span data-if="python" style="display:none">angle_step</span></code></i></a> is exactly 0.0, <a href="#AngleStart"><i><code><span data-if="hdevelop" style="display:inline">AngleStart</span><span data-if="c" style="display:none">AngleStart</span><span data-if="cpp" style="display:none">AngleStart</span><span data-if="com" style="display:none">AngleStart</span><span data-if="dotnet" style="display:none">angleStart</span><span data-if="python" style="display:none">angle_start</span></code></i></a> is decreased
by up to <a href="#AngleStep"><i><code><span data-if="hdevelop" style="display:inline">AngleStep</span><span data-if="c" style="display:none">AngleStep</span><span data-if="cpp" style="display:none">AngleStep</span><span data-if="com" style="display:none">AngleStep</span><span data-if="dotnet" style="display:none">angleStep</span><span data-if="python" style="display:none">angle_step</span></code></i></a> and <a href="#AngleExtent"><i><code><span data-if="hdevelop" style="display:inline">AngleExtent</span><span data-if="c" style="display:none">AngleExtent</span><span data-if="cpp" style="display:none">AngleExtent</span><span data-if="com" style="display:none">AngleExtent</span><span data-if="dotnet" style="display:none">angleExtent</span><span data-if="python" style="display:none">angle_extent</span></code></i></a> is increased by
<a href="#AngleStep"><i><code><span data-if="hdevelop" style="display:inline">AngleStep</span><span data-if="c" style="display:none">AngleStep</span><span data-if="cpp" style="display:none">AngleStep</span><span data-if="com" style="display:none">AngleStep</span><span data-if="dotnet" style="display:none">angleStep</span><span data-if="python" style="display:none">angle_step</span></code></i></a>.
</p>
</dd>

<dt><b><a href="#ScaleMin"><i><code><span data-if="hdevelop" style="display:inline">ScaleMin</span><span data-if="c" style="display:none">ScaleMin</span><span data-if="cpp" style="display:none">ScaleMin</span><span data-if="com" style="display:none">ScaleMin</span><span data-if="dotnet" style="display:none">scaleMin</span><span data-if="python" style="display:none">scale_min</span></code></i></a>, <a href="#ScaleMax"><i><code><span data-if="hdevelop" style="display:inline">ScaleMax</span><span data-if="c" style="display:none">ScaleMax</span><span data-if="cpp" style="display:none">ScaleMax</span><span data-if="com" style="display:none">ScaleMax</span><span data-if="dotnet" style="display:none">scaleMax</span><span data-if="python" style="display:none">scale_max</span></code></i></a>, and <a href="#ScaleStep"><i><code><span data-if="hdevelop" style="display:inline">ScaleStep</span><span data-if="c" style="display:none">ScaleStep</span><span data-if="cpp" style="display:none">ScaleStep</span><span data-if="com" style="display:none">ScaleStep</span><span data-if="dotnet" style="display:none">scaleStep</span><span data-if="python" style="display:none">scale_step</span></code></i></a>:</b></dt>
<dd>
<p>

The parameters <a href="#ScaleMin"><i><code><span data-if="hdevelop" style="display:inline">ScaleMin</span><span data-if="c" style="display:none">ScaleMin</span><span data-if="cpp" style="display:none">ScaleMin</span><span data-if="com" style="display:none">ScaleMin</span><span data-if="dotnet" style="display:none">scaleMin</span><span data-if="python" style="display:none">scale_min</span></code></i></a> and <a href="#ScaleMax"><i><code><span data-if="hdevelop" style="display:inline">ScaleMax</span><span data-if="c" style="display:none">ScaleMax</span><span data-if="cpp" style="display:none">ScaleMax</span><span data-if="com" style="display:none">ScaleMax</span><span data-if="dotnet" style="display:none">scaleMax</span><span data-if="python" style="display:none">scale_max</span></code></i></a> determine the
range of possible scales (sizes) of the object.  A scale of 1
corresponds to the original size of the model.  The parameter
<a href="#ScaleStep"><i><code><span data-if="hdevelop" style="display:inline">ScaleStep</span><span data-if="c" style="display:none">ScaleStep</span><span data-if="cpp" style="display:none">ScaleStep</span><span data-if="com" style="display:none">ScaleStep</span><span data-if="dotnet" style="display:none">scaleStep</span><span data-if="python" style="display:none">scale_step</span></code></i></a> determines the step length within the selected
range of scales.  Hence, if subpixel accuracy is not specified in
<a href="find_scaled_shape_model.html"><code><span data-if="hdevelop" style="display:inline">find_scaled_shape_model</span><span data-if="c" style="display:none">find_scaled_shape_model</span><span data-if="cpp" style="display:none">FindScaledShapeModel</span><span data-if="com" style="display:none">FindScaledShapeModel</span><span data-if="dotnet" style="display:none">FindScaledShapeModel</span><span data-if="python" style="display:none">find_scaled_shape_model</span></code></a>, this parameter specifies the
accuracy that is achievable for the scales in
<a href="find_scaled_shape_model.html"><code><span data-if="hdevelop" style="display:inline">find_scaled_shape_model</span><span data-if="c" style="display:none">find_scaled_shape_model</span><span data-if="cpp" style="display:none">FindScaledShapeModel</span><span data-if="com" style="display:none">FindScaledShapeModel</span><span data-if="dotnet" style="display:none">FindScaledShapeModel</span><span data-if="python" style="display:none">find_scaled_shape_model</span></code></a>.  Like <a href="#AngleStep"><i><code><span data-if="hdevelop" style="display:inline">AngleStep</span><span data-if="c" style="display:none">AngleStep</span><span data-if="cpp" style="display:none">AngleStep</span><span data-if="com" style="display:none">AngleStep</span><span data-if="dotnet" style="display:none">angleStep</span><span data-if="python" style="display:none">angle_step</span></code></i></a>,
<a href="#ScaleStep"><i><code><span data-if="hdevelop" style="display:inline">ScaleStep</span><span data-if="c" style="display:none">ScaleStep</span><span data-if="cpp" style="display:none">ScaleStep</span><span data-if="com" style="display:none">ScaleStep</span><span data-if="dotnet" style="display:none">scaleStep</span><span data-if="python" style="display:none">scale_step</span></code></i></a> should be chosen based on the size of the object.
If the range of scales is not an integer multiple of
<a href="#ScaleStep"><i><code><span data-if="hdevelop" style="display:inline">ScaleStep</span><span data-if="c" style="display:none">ScaleStep</span><span data-if="cpp" style="display:none">ScaleStep</span><span data-if="com" style="display:none">ScaleStep</span><span data-if="dotnet" style="display:none">scaleStep</span><span data-if="python" style="display:none">scale_step</span></code></i></a>, <a href="#ScaleStep"><i><code><span data-if="hdevelop" style="display:inline">ScaleStep</span><span data-if="c" style="display:none">ScaleStep</span><span data-if="cpp" style="display:none">ScaleStep</span><span data-if="com" style="display:none">ScaleStep</span><span data-if="dotnet" style="display:none">scaleStep</span><span data-if="python" style="display:none">scale_step</span></code></i></a> is modified accordingly.
To ensure that for model instances that are not scaled scale values of
exactly 1.0 are returned by <a href="find_scaled_shape_model.html"><code><span data-if="hdevelop" style="display:inline">find_scaled_shape_model</span><span data-if="c" style="display:none">find_scaled_shape_model</span><span data-if="cpp" style="display:none">FindScaledShapeModel</span><span data-if="com" style="display:none">FindScaledShapeModel</span><span data-if="dotnet" style="display:none">FindScaledShapeModel</span><span data-if="python" style="display:none">find_scaled_shape_model</span></code></a>,
the range of possible
scales is modified as follows: If there is no positive integer value
n such that <a href="#ScaleMin"><i><code><span data-if="hdevelop" style="display:inline">ScaleMin</span><span data-if="c" style="display:none">ScaleMin</span><span data-if="cpp" style="display:none">ScaleMin</span><span data-if="com" style="display:none">ScaleMin</span><span data-if="dotnet" style="display:none">scaleMin</span><span data-if="python" style="display:none">scale_min</span></code></i></a> plus n times <a href="#ScaleStep"><i><code><span data-if="hdevelop" style="display:inline">ScaleStep</span><span data-if="c" style="display:none">ScaleStep</span><span data-if="cpp" style="display:none">ScaleStep</span><span data-if="com" style="display:none">ScaleStep</span><span data-if="dotnet" style="display:none">scaleStep</span><span data-if="python" style="display:none">scale_step</span></code></i></a> is
exactly 1.0, <a href="#ScaleMin"><i><code><span data-if="hdevelop" style="display:inline">ScaleMin</span><span data-if="c" style="display:none">ScaleMin</span><span data-if="cpp" style="display:none">ScaleMin</span><span data-if="com" style="display:none">ScaleMin</span><span data-if="dotnet" style="display:none">scaleMin</span><span data-if="python" style="display:none">scale_min</span></code></i></a> is decreased by up to
<a href="#ScaleStep"><i><code><span data-if="hdevelop" style="display:inline">ScaleStep</span><span data-if="c" style="display:none">ScaleStep</span><span data-if="cpp" style="display:none">ScaleStep</span><span data-if="com" style="display:none">ScaleStep</span><span data-if="dotnet" style="display:none">scaleStep</span><span data-if="python" style="display:none">scale_step</span></code></i></a> and <a href="#ScaleMax"><i><code><span data-if="hdevelop" style="display:inline">ScaleMax</span><span data-if="c" style="display:none">ScaleMax</span><span data-if="cpp" style="display:none">ScaleMax</span><span data-if="com" style="display:none">ScaleMax</span><span data-if="dotnet" style="display:none">scaleMax</span><span data-if="python" style="display:none">scale_max</span></code></i></a> is increased such that the
range of possible scales is increased by <a href="#ScaleStep"><i><code><span data-if="hdevelop" style="display:inline">ScaleStep</span><span data-if="c" style="display:none">ScaleStep</span><span data-if="cpp" style="display:none">ScaleStep</span><span data-if="com" style="display:none">ScaleStep</span><span data-if="dotnet" style="display:none">scaleStep</span><span data-if="python" style="display:none">scale_step</span></code></i></a>.
</p>
</dd>

<dt><b><a href="#Optimization"><i><code><span data-if="hdevelop" style="display:inline">Optimization</span><span data-if="c" style="display:none">Optimization</span><span data-if="cpp" style="display:none">Optimization</span><span data-if="com" style="display:none">Optimization</span><span data-if="dotnet" style="display:none">optimization</span><span data-if="python" style="display:none">optimization</span></code></i></a>:</b></dt>
<dd>
<p>

For particularly large models, it may be useful to reduce the number
of model points by setting <a href="#Optimization"><i><code><span data-if="hdevelop" style="display:inline">Optimization</span><span data-if="c" style="display:none">Optimization</span><span data-if="cpp" style="display:none">Optimization</span><span data-if="com" style="display:none">Optimization</span><span data-if="dotnet" style="display:none">optimization</span><span data-if="python" style="display:none">optimization</span></code></i></a> to a value
different from <i><span data-if="hdevelop" style="display:inline">'none'</span><span data-if="c" style="display:none">"none"</span><span data-if="cpp" style="display:none">"none"</span><span data-if="com" style="display:none">"none"</span><span data-if="dotnet" style="display:none">"none"</span><span data-if="python" style="display:none">"none"</span></i>.  If <a href="#Optimization"><i><code><span data-if="hdevelop" style="display:inline">Optimization</span><span data-if="c" style="display:none">Optimization</span><span data-if="cpp" style="display:none">Optimization</span><span data-if="com" style="display:none">Optimization</span><span data-if="dotnet" style="display:none">optimization</span><span data-if="python" style="display:none">optimization</span></code></i></a> =
<i><span data-if="hdevelop" style="display:inline">'none'</span><span data-if="c" style="display:none">"none"</span><span data-if="cpp" style="display:none">"none"</span><span data-if="com" style="display:none">"none"</span><span data-if="dotnet" style="display:none">"none"</span><span data-if="python" style="display:none">"none"</span></i>, all model points are stored.  In all other cases,
the number of points is reduced according to the value of
<a href="#Optimization"><i><code><span data-if="hdevelop" style="display:inline">Optimization</span><span data-if="c" style="display:none">Optimization</span><span data-if="cpp" style="display:none">Optimization</span><span data-if="com" style="display:none">Optimization</span><span data-if="dotnet" style="display:none">optimization</span><span data-if="python" style="display:none">optimization</span></code></i></a>.  If the number of points is reduced, it may
be necessary in <a href="find_scaled_shape_model.html"><code><span data-if="hdevelop" style="display:inline">find_scaled_shape_model</span><span data-if="c" style="display:none">find_scaled_shape_model</span><span data-if="cpp" style="display:none">FindScaledShapeModel</span><span data-if="com" style="display:none">FindScaledShapeModel</span><span data-if="dotnet" style="display:none">FindScaledShapeModel</span><span data-if="python" style="display:none">find_scaled_shape_model</span></code></a> to set the parameter
<code><span data-if="hdevelop" style="display:inline">Greediness</span><span data-if="c" style="display:none">Greediness</span><span data-if="cpp" style="display:none">Greediness</span><span data-if="com" style="display:none">Greediness</span><span data-if="dotnet" style="display:none">greediness</span><span data-if="python" style="display:none">greediness</span></code> to a smaller value, e.g., <i>0.7</i> or <i>0.8</i>.
For small models, the reduction of the number of model points does not result
in a speed-up of the search because in this case usually
significantly more potential instances of the model must be
examined.
</p>
<p>If <a href="#Optimization"><i><code><span data-if="hdevelop" style="display:inline">Optimization</span><span data-if="c" style="display:none">Optimization</span><span data-if="cpp" style="display:none">Optimization</span><span data-if="com" style="display:none">Optimization</span><span data-if="dotnet" style="display:none">optimization</span><span data-if="python" style="display:none">optimization</span></code></i></a> is set to <i><span data-if="hdevelop" style="display:inline">'auto'</span><span data-if="c" style="display:none">"auto"</span><span data-if="cpp" style="display:none">"auto"</span><span data-if="com" style="display:none">"auto"</span><span data-if="dotnet" style="display:none">"auto"</span><span data-if="python" style="display:none">"auto"</span></i>,
<code><span data-if="hdevelop" style="display:inline">create_scaled_shape_model_xld</span><span data-if="c" style="display:none">create_scaled_shape_model_xld</span><span data-if="cpp" style="display:none">CreateScaledShapeModelXld</span><span data-if="com" style="display:none">CreateScaledShapeModelXld</span><span data-if="dotnet" style="display:none">CreateScaledShapeModelXld</span><span data-if="python" style="display:none">create_scaled_shape_model_xld</span></code> automatically determines the
reduction of the number of model points.
</p>
</dd>

<dt><b><a href="#Metric"><i><code><span data-if="hdevelop" style="display:inline">Metric</span><span data-if="c" style="display:none">Metric</span><span data-if="cpp" style="display:none">Metric</span><span data-if="com" style="display:none">Metric</span><span data-if="dotnet" style="display:none">metric</span><span data-if="python" style="display:none">metric</span></code></i></a>:</b></dt>
<dd>
<p>

The parameter <a href="#Metric"><i><code><span data-if="hdevelop" style="display:inline">Metric</span><span data-if="c" style="display:none">Metric</span><span data-if="cpp" style="display:none">Metric</span><span data-if="com" style="display:none">Metric</span><span data-if="dotnet" style="display:none">metric</span><span data-if="python" style="display:none">metric</span></code></i></a> determines the conditions under which
the model is recognized in the image.
</p>
<p>If <a href="#Metric"><i><code><span data-if="hdevelop" style="display:inline">Metric</span><span data-if="c" style="display:none">Metric</span><span data-if="cpp" style="display:none">Metric</span><span data-if="com" style="display:none">Metric</span><span data-if="dotnet" style="display:none">metric</span><span data-if="python" style="display:none">metric</span></code></i></a> = <i><span data-if="hdevelop" style="display:inline">'use_polarity'</span><span data-if="c" style="display:none">"use_polarity"</span><span data-if="cpp" style="display:none">"use_polarity"</span><span data-if="com" style="display:none">"use_polarity"</span><span data-if="dotnet" style="display:none">"use_polarity"</span><span data-if="python" style="display:none">"use_polarity"</span></i>, the object in the image and
the model must have the same contrast.  If, for example, the model is a
bright object on a dark background, the object is found only if it is also
brighter than the background.
</p>
<p>If <a href="#Metric"><i><code><span data-if="hdevelop" style="display:inline">Metric</span><span data-if="c" style="display:none">Metric</span><span data-if="cpp" style="display:none">Metric</span><span data-if="com" style="display:none">Metric</span><span data-if="dotnet" style="display:none">metric</span><span data-if="python" style="display:none">metric</span></code></i></a> = <i><span data-if="hdevelop" style="display:inline">'ignore_global_polarity'</span><span data-if="c" style="display:none">"ignore_global_polarity"</span><span data-if="cpp" style="display:none">"ignore_global_polarity"</span><span data-if="com" style="display:none">"ignore_global_polarity"</span><span data-if="dotnet" style="display:none">"ignore_global_polarity"</span><span data-if="python" style="display:none">"ignore_global_polarity"</span></i>, the object is
found in the image also if the contrast reverses globally.  In the above
example, the object hence is also found if it is darker than the background.
The runtime of <a href="find_scaled_shape_model.html"><code><span data-if="hdevelop" style="display:inline">find_scaled_shape_model</span><span data-if="c" style="display:none">find_scaled_shape_model</span><span data-if="cpp" style="display:none">FindScaledShapeModel</span><span data-if="com" style="display:none">FindScaledShapeModel</span><span data-if="dotnet" style="display:none">FindScaledShapeModel</span><span data-if="python" style="display:none">find_scaled_shape_model</span></code></a> will increase slightly in
this case.
</p>
<p>Note that the metrics (<i><span data-if="hdevelop" style="display:inline">'use_polarity'</span><span data-if="c" style="display:none">"use_polarity"</span><span data-if="cpp" style="display:none">"use_polarity"</span><span data-if="com" style="display:none">"use_polarity"</span><span data-if="dotnet" style="display:none">"use_polarity"</span><span data-if="python" style="display:none">"use_polarity"</span></i> and
<i><span data-if="hdevelop" style="display:inline">'ignore_global_polarity'</span><span data-if="c" style="display:none">"ignore_global_polarity"</span><span data-if="cpp" style="display:none">"ignore_global_polarity"</span><span data-if="com" style="display:none">"ignore_global_polarity"</span><span data-if="dotnet" style="display:none">"ignore_global_polarity"</span><span data-if="python" style="display:none">"ignore_global_polarity"</span></i>) can only be selected if all
<a href="#Contours"><i><code><span data-if="hdevelop" style="display:inline">Contours</span><span data-if="c" style="display:none">Contours</span><span data-if="cpp" style="display:none">Contours</span><span data-if="com" style="display:none">Contours</span><span data-if="dotnet" style="display:none">contours</span><span data-if="python" style="display:none">contours</span></code></i></a> provide the attribute <i><span data-if="hdevelop" style="display:inline">'edge_direction'</span><span data-if="c" style="display:none">"edge_direction"</span><span data-if="cpp" style="display:none">"edge_direction"</span><span data-if="com" style="display:none">"edge_direction"</span><span data-if="dotnet" style="display:none">"edge_direction"</span><span data-if="python" style="display:none">"edge_direction"</span></i>, which
defines the polarity of the edges. This attribute is available for contours
created, e.g., with <a href="edges_sub_pix.html"><code><span data-if="hdevelop" style="display:inline">edges_sub_pix</span><span data-if="c" style="display:none">edges_sub_pix</span><span data-if="cpp" style="display:none">EdgesSubPix</span><span data-if="com" style="display:none">EdgesSubPix</span><span data-if="dotnet" style="display:none">EdgesSubPix</span><span data-if="python" style="display:none">edges_sub_pix</span></code></a> with the parameter <code><span data-if="hdevelop" style="display:inline">Method</span><span data-if="c" style="display:none">Method</span><span data-if="cpp" style="display:none">Method</span><span data-if="com" style="display:none">Method</span><span data-if="dotnet" style="display:none">method</span><span data-if="python" style="display:none">method</span></code>
set to, e.g., <i><span data-if="hdevelop" style="display:inline">'canny'</span><span data-if="c" style="display:none">"canny"</span><span data-if="cpp" style="display:none">"canny"</span><span data-if="com" style="display:none">"canny"</span><span data-if="dotnet" style="display:none">"canny"</span><span data-if="python" style="display:none">"canny"</span></i>.  Otherwise, these two metrics can be
selected with 该算子 <a href="set_shape_model_metric.html"><code><span data-if="hdevelop" style="display:inline">set_shape_model_metric</span><span data-if="c" style="display:none">set_shape_model_metric</span><span data-if="cpp" style="display:none">SetShapeModelMetric</span><span data-if="com" style="display:none">SetShapeModelMetric</span><span data-if="dotnet" style="display:none">SetShapeModelMetric</span><span data-if="python" style="display:none">set_shape_model_metric</span></code></a>, which determines
the polarity of the edges from an image.
</p>
<p>If <a href="#Metric"><i><code><span data-if="hdevelop" style="display:inline">Metric</span><span data-if="c" style="display:none">Metric</span><span data-if="cpp" style="display:none">Metric</span><span data-if="com" style="display:none">Metric</span><span data-if="dotnet" style="display:none">metric</span><span data-if="python" style="display:none">metric</span></code></i></a> = <i><span data-if="hdevelop" style="display:inline">'ignore_local_polarity'</span><span data-if="c" style="display:none">"ignore_local_polarity"</span><span data-if="cpp" style="display:none">"ignore_local_polarity"</span><span data-if="com" style="display:none">"ignore_local_polarity"</span><span data-if="dotnet" style="display:none">"ignore_local_polarity"</span><span data-if="python" style="display:none">"ignore_local_polarity"</span></i>,
the model is found even if the contrast changes locally.  This mode
can, for example, be useful if the object consists of a part with
medium gray value, within which either darker or brighter
sub-objects lie.  Since in this case the runtime of
<a href="find_scaled_shape_model.html"><code><span data-if="hdevelop" style="display:inline">find_scaled_shape_model</span><span data-if="c" style="display:none">find_scaled_shape_model</span><span data-if="cpp" style="display:none">FindScaledShapeModel</span><span data-if="com" style="display:none">FindScaledShapeModel</span><span data-if="dotnet" style="display:none">FindScaledShapeModel</span><span data-if="python" style="display:none">find_scaled_shape_model</span></code></a> increases significantly, it is
usually better to create several models that reflect the possible
contrast variations of the object with
<code><span data-if="hdevelop" style="display:inline">create_scaled_shape_model_xld</span><span data-if="c" style="display:none">create_scaled_shape_model_xld</span><span data-if="cpp" style="display:none">CreateScaledShapeModelXld</span><span data-if="com" style="display:none">CreateScaledShapeModelXld</span><span data-if="dotnet" style="display:none">CreateScaledShapeModelXld</span><span data-if="python" style="display:none">create_scaled_shape_model_xld</span></code>, and to match them simultaneously
with <a href="find_scaled_shape_models.html"><code><span data-if="hdevelop" style="display:inline">find_scaled_shape_models</span><span data-if="c" style="display:none">find_scaled_shape_models</span><span data-if="cpp" style="display:none">FindScaledShapeModels</span><span data-if="com" style="display:none">FindScaledShapeModels</span><span data-if="dotnet" style="display:none">FindScaledShapeModels</span><span data-if="python" style="display:none">find_scaled_shape_models</span></code></a>.
</p>
<p>The above three metrics can only be applied to single-channel images.
If a multichannel image is used as the model image or as the search image,
only the first channel will be used (and no error message will be returned).
</p>
<p>If <a href="#Metric"><i><code><span data-if="hdevelop" style="display:inline">Metric</span><span data-if="c" style="display:none">Metric</span><span data-if="cpp" style="display:none">Metric</span><span data-if="com" style="display:none">Metric</span><span data-if="dotnet" style="display:none">metric</span><span data-if="python" style="display:none">metric</span></code></i></a> = <i><span data-if="hdevelop" style="display:inline">'ignore_color_polarity'</span><span data-if="c" style="display:none">"ignore_color_polarity"</span><span data-if="cpp" style="display:none">"ignore_color_polarity"</span><span data-if="com" style="display:none">"ignore_color_polarity"</span><span data-if="dotnet" style="display:none">"ignore_color_polarity"</span><span data-if="python" style="display:none">"ignore_color_polarity"</span></i>, the model is
found even if the color contrast changes locally.  This is, for
example, the case if parts of the object can change their color,
e.g., from red to green.  In particular, this mode is useful if it
is not known in advance in which channels the object is visible.  In
this mode, the runtime of <a href="find_scaled_shape_model.html"><code><span data-if="hdevelop" style="display:inline">find_scaled_shape_model</span><span data-if="c" style="display:none">find_scaled_shape_model</span><span data-if="cpp" style="display:none">FindScaledShapeModel</span><span data-if="com" style="display:none">FindScaledShapeModel</span><span data-if="dotnet" style="display:none">FindScaledShapeModel</span><span data-if="python" style="display:none">find_scaled_shape_model</span></code></a> can also
increase significantly.  The metric <i><span data-if="hdevelop" style="display:inline">'ignore_color_polarity'</span><span data-if="c" style="display:none">"ignore_color_polarity"</span><span data-if="cpp" style="display:none">"ignore_color_polarity"</span><span data-if="com" style="display:none">"ignore_color_polarity"</span><span data-if="dotnet" style="display:none">"ignore_color_polarity"</span><span data-if="python" style="display:none">"ignore_color_polarity"</span></i>
can be used for images with an arbitrary number of channels.  If it
is used for single-channel images it has the same effect as
<i><span data-if="hdevelop" style="display:inline">'ignore_local_polarity'</span><span data-if="c" style="display:none">"ignore_local_polarity"</span><span data-if="cpp" style="display:none">"ignore_local_polarity"</span><span data-if="com" style="display:none">"ignore_local_polarity"</span><span data-if="dotnet" style="display:none">"ignore_local_polarity"</span><span data-if="python" style="display:none">"ignore_local_polarity"</span></i>.  It should be noted that for
<a href="#Metric"><i><code><span data-if="hdevelop" style="display:inline">Metric</span><span data-if="c" style="display:none">Metric</span><span data-if="cpp" style="display:none">Metric</span><span data-if="com" style="display:none">Metric</span><span data-if="dotnet" style="display:none">metric</span><span data-if="python" style="display:none">metric</span></code></i></a> = <i><span data-if="hdevelop" style="display:inline">'ignore_color_polarity'</span><span data-if="c" style="display:none">"ignore_color_polarity"</span><span data-if="cpp" style="display:none">"ignore_color_polarity"</span><span data-if="com" style="display:none">"ignore_color_polarity"</span><span data-if="dotnet" style="display:none">"ignore_color_polarity"</span><span data-if="python" style="display:none">"ignore_color_polarity"</span></i> the
channels do not need to contain a spectral subdivision of the light
(like in an RGB image).  The channels can, for example, also contain
images of the same object that were obtained by illuminating the
object from different directions.
</p>
<p>Note that the first two metrics (<i><span data-if="hdevelop" style="display:inline">'use_polarity'</span><span data-if="c" style="display:none">"use_polarity"</span><span data-if="cpp" style="display:none">"use_polarity"</span><span data-if="com" style="display:none">"use_polarity"</span><span data-if="dotnet" style="display:none">"use_polarity"</span><span data-if="python" style="display:none">"use_polarity"</span></i> and
<i><span data-if="hdevelop" style="display:inline">'ignore_global_polarity'</span><span data-if="c" style="display:none">"ignore_global_polarity"</span><span data-if="cpp" style="display:none">"ignore_global_polarity"</span><span data-if="com" style="display:none">"ignore_global_polarity"</span><span data-if="dotnet" style="display:none">"ignore_global_polarity"</span><span data-if="python" style="display:none">"ignore_global_polarity"</span></i>) can only be selected if all
<a href="#Contours"><i><code><span data-if="hdevelop" style="display:inline">Contours</span><span data-if="c" style="display:none">Contours</span><span data-if="cpp" style="display:none">Contours</span><span data-if="com" style="display:none">Contours</span><span data-if="dotnet" style="display:none">contours</span><span data-if="python" style="display:none">contours</span></code></i></a> provide the attribute <i><span data-if="hdevelop" style="display:inline">'edge_direction'</span><span data-if="c" style="display:none">"edge_direction"</span><span data-if="cpp" style="display:none">"edge_direction"</span><span data-if="com" style="display:none">"edge_direction"</span><span data-if="dotnet" style="display:none">"edge_direction"</span><span data-if="python" style="display:none">"edge_direction"</span></i>, which
defines the polarity of the edges. For more information about
contour attributes like <i><span data-if="hdevelop" style="display:inline">'edge_direction'</span><span data-if="c" style="display:none">"edge_direction"</span><span data-if="cpp" style="display:none">"edge_direction"</span><span data-if="com" style="display:none">"edge_direction"</span><span data-if="dotnet" style="display:none">"edge_direction"</span><span data-if="python" style="display:none">"edge_direction"</span></i> see
<a href="get_contour_attrib_xld.html"><code><span data-if="hdevelop" style="display:inline">get_contour_attrib_xld</span><span data-if="c" style="display:none">get_contour_attrib_xld</span><span data-if="cpp" style="display:none">GetContourAttribXld</span><span data-if="com" style="display:none">GetContourAttribXld</span><span data-if="dotnet" style="display:none">GetContourAttribXld</span><span data-if="python" style="display:none">get_contour_attrib_xld</span></code></a>.
Otherwise, these two metrics can be selected with 该算子
<a href="set_shape_model_metric.html"><code><span data-if="hdevelop" style="display:inline">set_shape_model_metric</span><span data-if="c" style="display:none">set_shape_model_metric</span><span data-if="cpp" style="display:none">SetShapeModelMetric</span><span data-if="com" style="display:none">SetShapeModelMetric</span><span data-if="dotnet" style="display:none">SetShapeModelMetric</span><span data-if="python" style="display:none">set_shape_model_metric</span></code></a>, which determines
the polarity of the edges from an image.
</p>
</dd>

<dt><b><a href="#MinContrast"><i><code><span data-if="hdevelop" style="display:inline">MinContrast</span><span data-if="c" style="display:none">MinContrast</span><span data-if="cpp" style="display:none">MinContrast</span><span data-if="com" style="display:none">MinContrast</span><span data-if="dotnet" style="display:none">minContrast</span><span data-if="python" style="display:none">min_contrast</span></code></i></a>:</b></dt>
<dd><p>

With <a href="#MinContrast"><i><code><span data-if="hdevelop" style="display:inline">MinContrast</span><span data-if="c" style="display:none">MinContrast</span><span data-if="cpp" style="display:none">MinContrast</span><span data-if="com" style="display:none">MinContrast</span><span data-if="dotnet" style="display:none">minContrast</span><span data-if="python" style="display:none">min_contrast</span></code></i></a>, it can be determined which contrast the
object edges must at least have in the recognition performed by
<a href="find_scaled_shape_model.html"><code><span data-if="hdevelop" style="display:inline">find_scaled_shape_model</span><span data-if="c" style="display:none">find_scaled_shape_model</span><span data-if="cpp" style="display:none">FindScaledShapeModel</span><span data-if="com" style="display:none">FindScaledShapeModel</span><span data-if="dotnet" style="display:none">FindScaledShapeModel</span><span data-if="python" style="display:none">find_scaled_shape_model</span></code></a>.  In other words, this parameter
separates the object from the noise in the image.  Therefore, a good
choice is the range of gray value changes caused by the noise in the
image.  If, for example, the gray values fluctuate within a range of
10 gray levels, <a href="#MinContrast"><i><code><span data-if="hdevelop" style="display:inline">MinContrast</span><span data-if="c" style="display:none">MinContrast</span><span data-if="cpp" style="display:none">MinContrast</span><span data-if="com" style="display:none">MinContrast</span><span data-if="dotnet" style="display:none">minContrast</span><span data-if="python" style="display:none">min_contrast</span></code></i></a> should be set to 10.  If
multichannel images are used for the model and the search images,
and if the parameter <a href="#Metric"><i><code><span data-if="hdevelop" style="display:inline">Metric</span><span data-if="c" style="display:none">Metric</span><span data-if="cpp" style="display:none">Metric</span><span data-if="com" style="display:none">Metric</span><span data-if="dotnet" style="display:none">metric</span><span data-if="python" style="display:none">metric</span></code></i></a> is set to
<i><span data-if="hdevelop" style="display:inline">'ignore_color_polarity'</span><span data-if="c" style="display:none">"ignore_color_polarity"</span><span data-if="cpp" style="display:none">"ignore_color_polarity"</span><span data-if="com" style="display:none">"ignore_color_polarity"</span><span data-if="dotnet" style="display:none">"ignore_color_polarity"</span><span data-if="python" style="display:none">"ignore_color_polarity"</span></i> (see above) the noise in one
channel must be multiplied by the square root of the number of
channels to determine <a href="#MinContrast"><i><code><span data-if="hdevelop" style="display:inline">MinContrast</span><span data-if="c" style="display:none">MinContrast</span><span data-if="cpp" style="display:none">MinContrast</span><span data-if="com" style="display:none">MinContrast</span><span data-if="dotnet" style="display:none">minContrast</span><span data-if="python" style="display:none">min_contrast</span></code></i></a>.  If, for example, the
gray values fluctuate within a range of 10 gray levels in a single
channel and the image is a three-channel image <a href="#MinContrast"><i><code><span data-if="hdevelop" style="display:inline">MinContrast</span><span data-if="c" style="display:none">MinContrast</span><span data-if="cpp" style="display:none">MinContrast</span><span data-if="com" style="display:none">MinContrast</span><span data-if="dotnet" style="display:none">minContrast</span><span data-if="python" style="display:none">min_contrast</span></code></i></a>
should be set to 17.  If the model should be recognized
in very low contrast images, <a href="#MinContrast"><i><code><span data-if="hdevelop" style="display:inline">MinContrast</span><span data-if="c" style="display:none">MinContrast</span><span data-if="cpp" style="display:none">MinContrast</span><span data-if="com" style="display:none">MinContrast</span><span data-if="dotnet" style="display:none">minContrast</span><span data-if="python" style="display:none">min_contrast</span></code></i></a> must be set to a
correspondingly small value.  If the model should be recognized even
if it is severely occluded, <a href="#MinContrast"><i><code><span data-if="hdevelop" style="display:inline">MinContrast</span><span data-if="c" style="display:none">MinContrast</span><span data-if="cpp" style="display:none">MinContrast</span><span data-if="com" style="display:none">MinContrast</span><span data-if="dotnet" style="display:none">minContrast</span><span data-if="python" style="display:none">min_contrast</span></code></i></a> should be slightly
larger than the range of gray value fluctuations created by noise in
order to ensure that the position and rotation of the model are
extracted robustly and accurately by
<a href="find_scaled_shape_model.html"><code><span data-if="hdevelop" style="display:inline">find_scaled_shape_model</span><span data-if="c" style="display:none">find_scaled_shape_model</span><span data-if="cpp" style="display:none">FindScaledShapeModel</span><span data-if="com" style="display:none">FindScaledShapeModel</span><span data-if="dotnet" style="display:none">FindScaledShapeModel</span><span data-if="python" style="display:none">find_scaled_shape_model</span></code></a>.
</p></dd>
</dl>
<h3>Complete pregeneration of the model</h3>
<p>
Optionally, a second value can be passed in <a href="#Optimization"><i><code><span data-if="hdevelop" style="display:inline">Optimization</span><span data-if="c" style="display:none">Optimization</span><span data-if="cpp" style="display:none">Optimization</span><span data-if="com" style="display:none">Optimization</span><span data-if="dotnet" style="display:none">optimization</span><span data-if="python" style="display:none">optimization</span></code></i></a>.
This value determines whether the model is pregenerated completely
or not.  To do so, the second value of <a href="#Optimization"><i><code><span data-if="hdevelop" style="display:inline">Optimization</span><span data-if="c" style="display:none">Optimization</span><span data-if="cpp" style="display:none">Optimization</span><span data-if="com" style="display:none">Optimization</span><span data-if="dotnet" style="display:none">optimization</span><span data-if="python" style="display:none">optimization</span></code></i></a> must be
set to either <i><span data-if="hdevelop" style="display:inline">'pregeneration'</span><span data-if="c" style="display:none">"pregeneration"</span><span data-if="cpp" style="display:none">"pregeneration"</span><span data-if="com" style="display:none">"pregeneration"</span><span data-if="dotnet" style="display:none">"pregeneration"</span><span data-if="python" style="display:none">"pregeneration"</span></i> or
<i><span data-if="hdevelop" style="display:inline">'no_pregeneration'</span><span data-if="c" style="display:none">"no_pregeneration"</span><span data-if="cpp" style="display:none">"no_pregeneration"</span><span data-if="com" style="display:none">"no_pregeneration"</span><span data-if="dotnet" style="display:none">"no_pregeneration"</span><span data-if="python" style="display:none">"no_pregeneration"</span></i>.  If the second value is not used (i.e.,
if only one value is passed), the mode that is set with
<a href="set_system.html"><code><span data-if="hdevelop" style="display:inline">set_system('pregenerate_shape_models',...)</span><span data-if="c" style="display:none">set_system("pregenerate_shape_models",...)</span><span data-if="cpp" style="display:none">SetSystem("pregenerate_shape_models",...)</span><span data-if="com" style="display:none">SetSystem("pregenerate_shape_models",...)</span><span data-if="dotnet" style="display:none">SetSystem("pregenerate_shape_models",...)</span><span data-if="python" style="display:none">set_system("pregenerate_shape_models",...)</span></code></a> is used.  With
the default value (<i><span data-if="hdevelop" style="display:inline">'pregenerate_shape_models'</span><span data-if="c" style="display:none">"pregenerate_shape_models"</span><span data-if="cpp" style="display:none">"pregenerate_shape_models"</span><span data-if="com" style="display:none">"pregenerate_shape_models"</span><span data-if="dotnet" style="display:none">"pregenerate_shape_models"</span><span data-if="python" style="display:none">"pregenerate_shape_models"</span></i> =
<i><span data-if="hdevelop" style="display:inline">'false'</span><span data-if="c" style="display:none">"false"</span><span data-if="cpp" style="display:none">"false"</span><span data-if="com" style="display:none">"false"</span><span data-if="dotnet" style="display:none">"false"</span><span data-if="python" style="display:none">"false"</span></i>), the model is not pregenerated completely.  The
complete pregeneration of the model normally leads to slightly lower
runtimes because the model does not need to be transformed at
runtime.  However, in this case, the memory requirements and the
time required to create the model are significantly higher.  It
should also be noted that it cannot be expected that the two modes
return exactly identical results because transforming the model at
runtime necessarily leads to different internal data for the
transformed models than pregenerating the transformed models.  For
example, if the model is not pregenerated completely,
<a href="find_scaled_shape_model.html"><code><span data-if="hdevelop" style="display:inline">find_scaled_shape_model</span><span data-if="c" style="display:none">find_scaled_shape_model</span><span data-if="cpp" style="display:none">FindScaledShapeModel</span><span data-if="com" style="display:none">FindScaledShapeModel</span><span data-if="dotnet" style="display:none">FindScaledShapeModel</span><span data-if="python" style="display:none">find_scaled_shape_model</span></code></a> typically returns slightly lower
scores, which may require setting a slightly lower value for
<code><span data-if="hdevelop" style="display:inline">MinScore</span><span data-if="c" style="display:none">MinScore</span><span data-if="cpp" style="display:none">MinScore</span><span data-if="com" style="display:none">MinScore</span><span data-if="dotnet" style="display:none">minScore</span><span data-if="python" style="display:none">min_score</span></code> than for a completely pregenerated model.
Furthermore, the poses obtained by interpolation may differ slightly
in the two modes.
If maximum accuracy is desired, the pose of the model should
be determined by least-squares adjustment.
</p>
<p>If a complete pregeneration of the model is selected,
the model is pregenerated for the selected angle and scale range
and stored in memory.  The memory required to store the model is
proportional to the number of angle steps, the number of scale
steps, and the number of points in the model.  Hence, if
<a href="#AngleStep"><i><code><span data-if="hdevelop" style="display:inline">AngleStep</span><span data-if="c" style="display:none">AngleStep</span><span data-if="cpp" style="display:none">AngleStep</span><span data-if="com" style="display:none">AngleStep</span><span data-if="dotnet" style="display:none">angleStep</span><span data-if="python" style="display:none">angle_step</span></code></i></a> or <a href="#ScaleStep"><i><code><span data-if="hdevelop" style="display:inline">ScaleStep</span><span data-if="c" style="display:none">ScaleStep</span><span data-if="cpp" style="display:none">ScaleStep</span><span data-if="com" style="display:none">ScaleStep</span><span data-if="dotnet" style="display:none">scaleStep</span><span data-if="python" style="display:none">scale_step</span></code></i></a> are too small or
<a href="#AngleExtent"><i><code><span data-if="hdevelop" style="display:inline">AngleExtent</span><span data-if="c" style="display:none">AngleExtent</span><span data-if="cpp" style="display:none">AngleExtent</span><span data-if="com" style="display:none">AngleExtent</span><span data-if="dotnet" style="display:none">angleExtent</span><span data-if="python" style="display:none">angle_extent</span></code></i></a> or the range of scales are too big, it may
happen that the model no longer fits into the (virtual) memory.  In
this case, either <a href="#AngleStep"><i><code><span data-if="hdevelop" style="display:inline">AngleStep</span><span data-if="c" style="display:none">AngleStep</span><span data-if="cpp" style="display:none">AngleStep</span><span data-if="com" style="display:none">AngleStep</span><span data-if="dotnet" style="display:none">angleStep</span><span data-if="python" style="display:none">angle_step</span></code></i></a> or <a href="#ScaleStep"><i><code><span data-if="hdevelop" style="display:inline">ScaleStep</span><span data-if="c" style="display:none">ScaleStep</span><span data-if="cpp" style="display:none">ScaleStep</span><span data-if="com" style="display:none">ScaleStep</span><span data-if="dotnet" style="display:none">scaleStep</span><span data-if="python" style="display:none">scale_step</span></code></i></a> must be
enlarged or <a href="#AngleExtent"><i><code><span data-if="hdevelop" style="display:inline">AngleExtent</span><span data-if="c" style="display:none">AngleExtent</span><span data-if="cpp" style="display:none">AngleExtent</span><span data-if="com" style="display:none">AngleExtent</span><span data-if="dotnet" style="display:none">angleExtent</span><span data-if="python" style="display:none">angle_extent</span></code></i></a> or the range of scales must be
reduced.  In any case, it is desirable that the model completely
fits into the main memory, because this avoids paging by the
operating system, and hence the time to find the object will be much
smaller.  Since angles can be determined with subpixel resolution by
<a href="find_scaled_shape_model.html"><code><span data-if="hdevelop" style="display:inline">find_scaled_shape_model</span><span data-if="c" style="display:none">find_scaled_shape_model</span><span data-if="cpp" style="display:none">FindScaledShapeModel</span><span data-if="com" style="display:none">FindScaledShapeModel</span><span data-if="dotnet" style="display:none">FindScaledShapeModel</span><span data-if="python" style="display:none">find_scaled_shape_model</span></code></a>, <a href="#AngleStep"><i><code><span data-if="hdevelop" style="display:inline">AngleStep</span><span data-if="c" style="display:none">AngleStep</span><span data-if="cpp" style="display:none">AngleStep</span><span data-if="com" style="display:none">AngleStep</span><span data-if="dotnet" style="display:none">angleStep</span><span data-if="python" style="display:none">angle_step</span></code></i></a> &gt;= 1° and <a href="#ScaleStep"><i><code><span data-if="hdevelop" style="display:inline">ScaleStep</span><span data-if="c" style="display:none">ScaleStep</span><span data-if="cpp" style="display:none">ScaleStep</span><span data-if="com" style="display:none">ScaleStep</span><span data-if="dotnet" style="display:none">scaleStep</span><span data-if="python" style="display:none">scale_step</span></code></i></a> &gt;= 0.02 can be selected for models of a
diameter smaller than about 200 pixels.
</p>
<p>If <a href="#AngleStep"><i><code><span data-if="hdevelop" style="display:inline">AngleStep</span><span data-if="c" style="display:none">AngleStep</span><span data-if="cpp" style="display:none">AngleStep</span><span data-if="com" style="display:none">AngleStep</span><span data-if="dotnet" style="display:none">angleStep</span><span data-if="python" style="display:none">angle_step</span></code></i></a> =
<i><span data-if="hdevelop" style="display:inline">'auto'</span><span data-if="c" style="display:none">"auto"</span><span data-if="cpp" style="display:none">"auto"</span><span data-if="com" style="display:none">"auto"</span><span data-if="dotnet" style="display:none">"auto"</span><span data-if="python" style="display:none">"auto"</span></i> or
<a href="#ScaleStep"><i><code><span data-if="hdevelop" style="display:inline">ScaleStep</span><span data-if="c" style="display:none">ScaleStep</span><span data-if="cpp" style="display:none">ScaleStep</span><span data-if="com" style="display:none">ScaleStep</span><span data-if="dotnet" style="display:none">scaleStep</span><span data-if="python" style="display:none">scale_step</span></code></i></a> =
<i><span data-if="hdevelop" style="display:inline">'auto'</span><span data-if="c" style="display:none">"auto"</span><span data-if="cpp" style="display:none">"auto"</span><span data-if="com" style="display:none">"auto"</span><span data-if="dotnet" style="display:none">"auto"</span><span data-if="python" style="display:none">"auto"</span></i> is selected, <code><span data-if="hdevelop" style="display:inline">create_scaled_shape_model_xld</span><span data-if="c" style="display:none">create_scaled_shape_model_xld</span><span data-if="cpp" style="display:none">CreateScaledShapeModelXld</span><span data-if="com" style="display:none">CreateScaledShapeModelXld</span><span data-if="dotnet" style="display:none">CreateScaledShapeModelXld</span><span data-if="python" style="display:none">create_scaled_shape_model_xld</span></code>
automatically determines a suitable angle or scale step length,
respectively, based on the size of the model.  The automatically computed
angle and scale step lengths can be queried using
<a href="get_shape_model_params.html"><code><span data-if="hdevelop" style="display:inline">get_shape_model_params</span><span data-if="c" style="display:none">get_shape_model_params</span><span data-if="cpp" style="display:none">GetShapeModelParams</span><span data-if="com" style="display:none">GetShapeModelParams</span><span data-if="dotnet" style="display:none">GetShapeModelParams</span><span data-if="python" style="display:none">get_shape_model_params</span></code></a>.
</p>
<p>If a complete pregeneration of the model is not selected, the model
is only created in a reference pose on each pyramid level.  In this
case, the model must be transformed to the different angles and
scales at runtime in <a href="find_scaled_shape_model.html"><code><span data-if="hdevelop" style="display:inline">find_scaled_shape_model</span><span data-if="c" style="display:none">find_scaled_shape_model</span><span data-if="cpp" style="display:none">FindScaledShapeModel</span><span data-if="com" style="display:none">FindScaledShapeModel</span><span data-if="dotnet" style="display:none">FindScaledShapeModel</span><span data-if="python" style="display:none">find_scaled_shape_model</span></code></a>.  Because of
this, the recognition of the model might require slightly more time.
</p>
<p>Note that pregenerated shape models are tailored to a specific image size.
For runtime reasons using images of different sizes during the search with
the same model in parallel is not supported. In this case, copies of the same
model must be used, otherwise the program may crash!
</p>
<h2 id="sec_attention">注意</h2>
<p>The XLD contours passed in <a href="#Contours"><i><code><span data-if="hdevelop" style="display:inline">Contours</span><span data-if="c" style="display:none">Contours</span><span data-if="cpp" style="display:none">Contours</span><span data-if="com" style="display:none">Contours</span><span data-if="dotnet" style="display:none">contours</span><span data-if="python" style="display:none">contours</span></code></i></a> should have been scaled
to approximately the average size of the object in the search images.
This means that the product <span title="1" style="vertical-align:-0.193087em" class="math"><!-- Created by MetaPost 1.902 on 2023.05.15:2033 --><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="10.9078em" height="0.845132em" viewBox="0 0 174.525146 13.522110">
<!-- Original BoundingBox: -87.262573 -6.761047 87.262573 6.761063 -->
  <defs>
    <g transform="scale(0.009963,0.009963)" id="GLYPHpcrr8r_77">
      <path style="fill-rule: evenodd;" d="M326.000000 -169.000000L483.000000 -522.000000L491.000000 -522.000000L491.000000 -41.000000L417.000000 -41.000000C399.000000 -41.000000,390.000000 -34.000000,390.000000 -21.000000C390.000000 -7.000000,399.000000 -0.000000,417.000000 -0.000000L566.000000 -0.000000C584.000000 -0.000000,593.000000 -7.000000,593.000000 -21.000000C593.000000 -34.000000,584.000000 -41.000000,566.000000 -41.000000L532.000000 -41.000000L532.000000 -522.000000L557.000000 -522.000000C575.000000 -522.000000,584.000000 -529.000000,584.000000 -543.000000C584.000000 -556.000000,575.000000 -563.000000,557.000000 -563.000000L457.000000 -563.000000L303.000000 -215.000000L146.000000 -563.000000L47.000000 -563.000000C29.000000 -563.000000,20.000000 -556.000000,20.000000 -543.000000C20.000000 -529.000000,29.000000 -522.000000,47.000000 -522.000000L72.000000 -522.000000L72.000000 -41.000000L38.000000 -41.000000C20.000000 -41.000000,11.000000 -34.000000,11.000000 -21.000000C11.000000 -7.000000,20.000000 -0.000000,38.000000 -0.000000L187.000000 -0.000000C205.000000 -0.000000,215.000000 -7.000000,215.000000 -21.000000C215.000000 -34.000000,206.000000 -41.000000,187.000000 -41.000000L113.000000 -41.000000L113.000000 -522.000000L121.000000 -522.000000L280.000000 -169.000000"></path>
    </g>
    <g transform="scale(0.009963,0.009963)" id="GLYPHpcrr8r_83">
      <path style="fill-rule: evenodd;" d="M445.000000 -517.000000C403.000000 -558.000000,358.000000 -576.000000,299.000000 -576.000000C194.000000 -576.000000,115.000000 -509.000000,115.000000 -421.000000C115.000000 -379.000000,134.000000 -340.000000,167.000000 -317.000000C197.000000 -295.000000,233.000000 -283.000000,303.000000 -271.000000C374.000000 -259.000000,395.000000 -253.000000,419.000000 -237.000000C447.000000 -220.000000,464.000000 -188.000000,464.000000 -153.000000C464.000000 -79.000000,394.000000 -25.000000,301.000000 -25.000000C210.000000 -25.000000,136.000000 -76.000000,133.000000 -142.000000C132.000000 -158.000000,126.000000 -166.000000,113.000000 -166.000000C99.000000 -166.000000,92.000000 -157.000000,92.000000 -139.000000L92.000000 -27.000000C92.000000 -9.000000,99.000000 -0.000000,112.000000 -0.000000C126.000000 -0.000000,133.000000 -9.000000,133.000000 -27.000000L133.000000 -56.000000C174.000000 -9.000000,233.000000 16.000000,302.000000 16.000000C422.000000 16.000000,508.000000 -54.000000,508.000000 -151.000000C508.000000 -202.000000,485.000000 -245.000000,446.000000 -269.000000C416.000000 -288.000000,388.000000 -296.000000,311.000000 -309.000000C249.000000 -319.000000,224.000000 -327.000000,198.000000 -344.000000C173.000000 -361.000000,159.000000 -389.000000,159.000000 -420.000000C159.000000 -486.000000,220.000000 -535.000000,302.000000 -535.000000C380.000000 -535.000000,441.000000 -490.000000,445.000000 -430.000000C446.000000 -414.000000,453.000000 -406.000000,466.000000 -406.000000C479.000000 -406.000000,486.000000 -415.000000,486.000000 -433.000000L486.000000 -536.000000C486.000000 -554.000000,479.000000 -563.000000,466.000000 -563.000000C452.000000 -563.000000,445.000000 -554.000000,445.000000 -536.000000"></path>
    </g>
    <g transform="scale(0.009963,0.009963)" id="GLYPHpcrr8r_97">
      <path style="fill-rule: evenodd;" d="M419.000000 -0.000000L514.000000 -0.000000C532.000000 -0.000000,541.000000 -7.000000,541.000000 -21.000000C541.000000 -34.000000,532.000000 -41.000000,514.000000 -41.000000L460.000000 -41.000000L460.000000 -308.000000C460.000000 -379.000000,392.000000 -431.000000,299.000000 -431.000000C262.000000 -431.000000,197.000000 -418.000000,142.000000 -399.000000C131.000000 -395.000000,125.000000 -388.000000,125.000000 -378.000000C125.000000 -367.000000,134.000000 -358.000000,144.000000 -358.000000C146.000000 -358.000000,150.000000 -359.000000,154.000000 -360.000000C232.000000 -384.000000,260.000000 -390.000000,296.000000 -390.000000C369.000000 -390.000000,419.000000 -357.000000,419.000000 -308.000000L419.000000 -237.000000C360.000000 -253.000000,329.000000 -258.000000,283.000000 -258.000000C158.000000 -258.000000,72.000000 -199.000000,72.000000 -112.000000C72.000000 -36.000000,135.000000 16.000000,228.000000 16.000000C298.000000 16.000000,358.000000 -10.000000,419.000000 -67.000000M419.000000 -112.000000C352.000000 -49.000000,298.000000 -25.000000,227.000000 -25.000000C158.000000 -25.000000,113.000000 -59.000000,113.000000 -111.000000C113.000000 -174.000000,185.000000 -217.000000,291.000000 -217.000000C335.000000 -217.000000,383.000000 -211.000000,419.000000 -202.000000"></path>
    </g>
    <g transform="scale(0.009963,0.009963)" id="GLYPHpcrr8r_99">
      <path style="fill-rule: evenodd;" d="M470.000000 -376.000000C429.000000 -412.000000,375.000000 -431.000000,314.000000 -431.000000C180.000000 -431.000000,84.000000 -336.000000,84.000000 -204.000000C84.000000 -76.000000,178.000000 16.000000,309.000000 16.000000C375.000000 16.000000,441.000000 -4.000000,492.000000 -39.000000C520.000000 -58.000000,535.000000 -76.000000,535.000000 -88.000000C535.000000 -98.000000,526.000000 -107.000000,516.000000 -107.000000C509.000000 -107.000000,506.000000 -105.000000,498.000000 -97.000000C446.000000 -49.000000,384.000000 -25.000000,311.000000 -25.000000C202.000000 -25.000000,125.000000 -100.000000,125.000000 -205.000000C125.000000 -315.000000,201.000000 -390.000000,311.000000 -390.000000C395.000000 -390.000000,466.000000 -348.000000,470.000000 -295.000000C472.000000 -278.000000,478.000000 -271.000000,491.000000 -271.000000C504.000000 -271.000000,511.000000 -280.000000,511.000000 -298.000000L511.000000 -389.000000C511.000000 -408.000000,504.000000 -417.000000,491.000000 -417.000000C477.000000 -417.000000,470.000000 -408.000000,470.000000 -389.000000"></path>
    </g>
    <g transform="scale(0.009963,0.009963)" id="GLYPHpcrr8r_101">
      <path style="fill-rule: evenodd;" d="M520.000000 -199.000000C520.000000 -245.000000,517.000000 -264.000000,503.000000 -297.000000C467.000000 -380.000000,387.000000 -431.000000,291.000000 -431.000000C163.000000 -431.000000,63.000000 -338.000000,63.000000 -217.000000C63.000000 -87.000000,170.000000 16.000000,305.000000 16.000000C396.000000 16.000000,516.000000 -31.000000,516.000000 -66.000000C516.000000 -77.000000,507.000000 -86.000000,497.000000 -86.000000C492.000000 -86.000000,488.000000 -84.000000,481.000000 -79.000000C441.000000 -47.000000,368.000000 -25.000000,306.000000 -25.000000C198.000000 -25.000000,118.000000 -94.000000,104.000000 -199.000000M104.000000 -240.000000C122.000000 -332.000000,194.000000 -390.000000,291.000000 -390.000000C388.000000 -390.000000,462.000000 -331.000000,478.000000 -240.000000"></path>
    </g>
    <g transform="scale(0.009963,0.009963)" id="GLYPHpcrr8r_105">
      <path style="fill-rule: evenodd;" d="M320.000000 -417.000000L161.000000 -417.000000C143.000000 -417.000000,134.000000 -410.000000,134.000000 -397.000000C134.000000 -383.000000,143.000000 -376.000000,161.000000 -376.000000L279.000000 -376.000000L279.000000 -41.000000L119.000000 -41.000000C101.000000 -41.000000,92.000000 -34.000000,92.000000 -21.000000C92.000000 -7.000000,101.000000 -0.000000,119.000000 -0.000000L480.000000 -0.000000C498.000000 -0.000000,508.000000 -7.000000,508.000000 -21.000000C508.000000 -34.000000,499.000000 -41.000000,480.000000 -41.000000L320.000000 -41.000000M318.000000 -624.000000L259.000000 -624.000000L259.000000 -520.000000L318.000000 -520.000000"></path>
    </g>
    <g transform="scale(0.009963,0.009963)" id="GLYPHpcrr8r_108">
      <path style="fill-rule: evenodd;" d="M320.000000 -604.000000L162.000000 -604.000000C144.000000 -604.000000,135.000000 -597.000000,135.000000 -584.000000C135.000000 -570.000000,144.000000 -563.000000,162.000000 -563.000000L279.000000 -563.000000L279.000000 -41.000000L119.000000 -41.000000C101.000000 -41.000000,92.000000 -34.000000,92.000000 -21.000000C92.000000 -7.000000,101.000000 -0.000000,119.000000 -0.000000L480.000000 -0.000000C498.000000 -0.000000,508.000000 -7.000000,508.000000 -21.000000C508.000000 -34.000000,499.000000 -41.000000,480.000000 -41.000000L320.000000 -41.000000"></path>
    </g>
    <g transform="scale(0.009963,0.009963)" id="GLYPHpcrr8r_110">
      <path style="fill-rule: evenodd;" d="M167.000000 -417.000000L92.000000 -417.000000C74.000000 -417.000000,65.000000 -410.000000,65.000000 -397.000000C65.000000 -383.000000,74.000000 -376.000000,92.000000 -376.000000L126.000000 -376.000000L126.000000 -41.000000L81.000000 -41.000000C62.000000 -41.000000,53.000000 -34.000000,53.000000 -21.000000C53.000000 -7.000000,62.000000 -0.000000,81.000000 -0.000000L212.000000 -0.000000C230.000000 -0.000000,239.000000 -7.000000,239.000000 -21.000000C239.000000 -34.000000,230.000000 -41.000000,212.000000 -41.000000L167.000000 -41.000000L167.000000 -294.000000C199.000000 -335.000000,209.000000 -346.000000,224.000000 -357.000000C252.000000 -380.000000,281.000000 -390.000000,319.000000 -390.000000C358.000000 -390.000000,377.000000 -384.000000,401.000000 -364.000000C426.000000 -343.000000,439.000000 -318.000000,439.000000 -288.000000L439.000000 -41.000000L405.000000 -41.000000C387.000000 -41.000000,378.000000 -34.000000,378.000000 -21.000000C378.000000 -7.000000,387.000000 -0.000000,405.000000 -0.000000L514.000000 -0.000000C532.000000 -0.000000,541.000000 -7.000000,541.000000 -21.000000C541.000000 -34.000000,532.000000 -41.000000,514.000000 -41.000000L480.000000 -41.000000L480.000000 -295.000000C480.000000 -372.000000,412.000000 -431.000000,323.000000 -431.000000C261.000000 -431.000000,225.000000 -412.000000,167.000000 -348.000000"></path>
    </g>
    <g transform="scale(0.009963,0.009963)" id="GLYPHpcrr8r_120">
      <path style="fill-rule: evenodd;" d="M329.000000 -219.000000L492.000000 -376.000000L499.000000 -376.000000C517.000000 -376.000000,526.000000 -383.000000,526.000000 -397.000000C526.000000 -410.000000,517.000000 -417.000000,499.000000 -417.000000L389.000000 -417.000000C371.000000 -417.000000,362.000000 -410.000000,362.000000 -397.000000C362.000000 -383.000000,371.000000 -376.000000,389.000000 -376.000000L437.000000 -376.000000L300.000000 -246.000000L166.000000 -376.000000L212.000000 -376.000000C230.000000 -376.000000,239.000000 -383.000000,239.000000 -397.000000C239.000000 -411.000000,230.000000 -417.000000,212.000000 -417.000000L101.000000 -417.000000C83.000000 -417.000000,74.000000 -410.000000,74.000000 -397.000000C74.000000 -383.000000,83.000000 -376.000000,101.000000 -376.000000L108.000000 -376.000000L271.000000 -219.000000L87.000000 -41.000000L78.000000 -41.000000C60.000000 -41.000000,51.000000 -34.000000,51.000000 -21.000000C51.000000 -7.000000,60.000000 -0.000000,78.000000 -0.000000L211.000000 -0.000000C229.000000 -0.000000,238.000000 -7.000000,238.000000 -21.000000C238.000000 -34.000000,229.000000 -41.000000,211.000000 -41.000000L143.000000 -41.000000L300.000000 -190.000000L455.000000 -41.000000L390.000000 -41.000000C372.000000 -41.000000,363.000000 -34.000000,363.000000 -21.000000C363.000000 -7.000000,372.000000 -0.000000,390.000000 -0.000000L522.000000 -0.000000C540.000000 -0.000000,549.000000 -7.000000,549.000000 -21.000000C549.000000 -34.000000,540.000000 -41.000000,522.000000 -41.000000L513.000000 -41.000000"></path>
    </g>
    <g transform="scale(0.009963,0.009963)" id="GLYPHcmsy10_2">
      <path style="fill-rule: evenodd;" d="M389.000000 -278.000000L189.000000 -477.000000C177.000000 -489.000000,175.000000 -491.000000,167.000000 -491.000000C157.000000 -491.000000,147.000000 -482.000000,147.000000 -471.000000C147.000000 -464.000000,149.000000 -462.000000,160.000000 -451.000000L360.000000 -250.000000L160.000000 -49.000000C149.000000 -38.000000,147.000000 -36.000000,147.000000 -29.000000C147.000000 -18.000000,157.000000 -9.000000,167.000000 -9.000000C175.000000 -9.000000,177.000000 -11.000000,189.000000 -23.000000L388.000000 -222.000000L595.000000 -15.000000C597.000000 -14.000000,604.000000 -9.000000,610.000000 -9.000000C622.000000 -9.000000,630.000000 -18.000000,630.000000 -29.000000C630.000000 -31.000000,630.000000 -35.000000,627.000000 -40.000000C626.000000 -42.000000,467.000000 -199.000000,417.000000 -250.000000L600.000000 -433.000000C605.000000 -439.000000,620.000000 -452.000000,625.000000 -458.000000C626.000000 -460.000000,630.000000 -464.000000,630.000000 -471.000000C630.000000 -482.000000,622.000000 -491.000000,610.000000 -491.000000C602.000000 -491.000000,598.000000 -487.000000,587.000000 -476.000000"></path>
    </g>
  </defs>
  <g transform="matrix(1.600006,-0.000000,-0.000000,1.600006,0.753418 10.432724)" style="fill: rgb(0.000000%,0.000000%,0.000000%);">
    <use xlink:href="#GLYPHpcrr8r_83"></use>
    <use xlink:href="#GLYPHpcrr8r_99" x="6.000092"></use>
    <use xlink:href="#GLYPHpcrr8r_97" x="12.000185"></use>
    <use xlink:href="#GLYPHpcrr8r_108" x="18.000277"></use>
    <use xlink:href="#GLYPHpcrr8r_101" x="24.000369"></use>
    <use xlink:href="#GLYPHpcrr8r_77" x="30.000462"></use>
    <use xlink:href="#GLYPHpcrr8r_105" x="36.000554"></use>
    <use xlink:href="#GLYPHpcrr8r_110" x="42.000646"></use>
  </g>
  <g transform="matrix(1.600006,-0.000000,-0.000000,1.600006,80.808929 10.432724)" style="fill: rgb(0.000000%,0.000000%,0.000000%);">
    <use xlink:href="#GLYPHcmsy10_2"></use>
  </g>
  <g transform="matrix(1.600006,-0.000000,-0.000000,1.600006,96.749146 10.432724)" style="fill: rgb(0.000000%,0.000000%,0.000000%);">
    <use xlink:href="#GLYPHpcrr8r_83"></use>
    <use xlink:href="#GLYPHpcrr8r_99" x="6.000092"></use>
    <use xlink:href="#GLYPHpcrr8r_97" x="12.000185"></use>
    <use xlink:href="#GLYPHpcrr8r_108" x="18.000277"></use>
    <use xlink:href="#GLYPHpcrr8r_101" x="24.000369"></use>
    <use xlink:href="#GLYPHpcrr8r_77" x="30.000462"></use>
    <use xlink:href="#GLYPHpcrr8r_97" x="36.000554"></use>
    <use xlink:href="#GLYPHpcrr8r_120" x="42.000646"></use>
  </g>
</svg></span> should be
approximately equal to 1.
</p>
<p>Note that, in contrast to 该算子
<a href="create_scaled_shape_model.html"><code><span data-if="hdevelop" style="display:inline">create_scaled_shape_model</span><span data-if="c" style="display:none">create_scaled_shape_model</span><span data-if="cpp" style="display:none">CreateScaledShapeModel</span><span data-if="com" style="display:none">CreateScaledShapeModel</span><span data-if="dotnet" style="display:none">CreateScaledShapeModel</span><span data-if="python" style="display:none">create_scaled_shape_model</span></code></a>, it is not possible to specify a
minimum size of the model components. To avoid small model
components in the shape model, short contours can be eliminated
before calling <code><span data-if="hdevelop" style="display:inline">create_scaled_shape_model_xld</span><span data-if="c" style="display:none">create_scaled_shape_model_xld</span><span data-if="cpp" style="display:none">CreateScaledShapeModelXld</span><span data-if="com" style="display:none">CreateScaledShapeModelXld</span><span data-if="dotnet" style="display:none">CreateScaledShapeModelXld</span><span data-if="python" style="display:none">create_scaled_shape_model_xld</span></code> with the
operator <a href="select_contours_xld.html"><code><span data-if="hdevelop" style="display:inline">select_contours_xld</span><span data-if="c" style="display:none">select_contours_xld</span><span data-if="cpp" style="display:none">SelectContoursXld</span><span data-if="com" style="display:none">SelectContoursXld</span><span data-if="dotnet" style="display:none">SelectContoursXld</span><span data-if="python" style="display:none">select_contours_xld</span></code></a>.</p>
<h2 id="sec_execution">运行信息</h2>
<ul>
  <li>多线程类型:可重入(与非独占操作符并行运行)。</li>
<li>多线程作用域:全局(可以从任何线程调用)。</li>
  <li>未经并行化处理。</li>
</ul>
<p>This operator returns a handle. Note that the state of an instance of this handle type may be changed by specific operators even though the handle is used as an input parameter by those operators.</p>
<h2 id="sec_parameters">参数表</h2>
  <div class="par">
<div class="parhead">
<span id="Contours" class="parname"><b><code><span data-if="hdevelop" style="display:inline">Contours</span><span data-if="c" style="display:none">Contours</span><span data-if="cpp" style="display:none">Contours</span><span data-if="com" style="display:none">Contours</span><span data-if="dotnet" style="display:none">contours</span><span data-if="python" style="display:none">contours</span></code></b> (input_object)  </span><span>xld_cont(-array) <code>→</code> <span data-if="hdevelop" style="display:inline">object</span><span data-if="dotnet" style="display:none"><a href="HXLDCont.html">HXLDCont</a></span><span data-if="python" style="display:none">HObject</span><span data-if="cpp" style="display:none"><a href="HXLDCont.html">HXLDCont</a></span><span data-if="c" style="display:none">Hobject</span></span>
</div>
<p class="pardesc">Input contours that will be used to create the model.</p>
</div>
  <div class="par">
<div class="parhead">
<span id="NumLevels" class="parname"><b><code><span data-if="hdevelop" style="display:inline">NumLevels</span><span data-if="c" style="display:none">NumLevels</span><span data-if="cpp" style="display:none">NumLevels</span><span data-if="com" style="display:none">NumLevels</span><span data-if="dotnet" style="display:none">numLevels</span><span data-if="python" style="display:none">num_levels</span></code></b> (input_control)  </span><span>integer <code>→</code> <span data-if="dotnet" style="display:none"><a href="HTuple.html">HTuple</a></span><span data-if="python" style="display:none">Union[int, str]</span><span data-if="cpp" style="display:none"><a href="HTuple.html">HTuple</a></span><span data-if="c" style="display:none">Htuple</span><span data-if="hdevelop" style="display:inline"> (integer / </span><span data-if="hdevelop" style="display:inline">string)</span><span data-if="dotnet" style="display:none"> (<i>int</i> / </span><span data-if="dotnet" style="display:none">long / </span><span data-if="dotnet" style="display:none">string)</span><span data-if="cpp" style="display:none"> (<i>Hlong</i> / </span><span data-if="cpp" style="display:none">HString)</span><span data-if="c" style="display:none"> (<i>Hlong</i> / </span><span data-if="c" style="display:none">char*)</span></span>
</div>
<p class="pardesc">Maximum number of pyramid levels.</p>
<p class="pardesc"><span class="parcat">Default:
      </span>
    <span data-if="hdevelop" style="display:inline">'auto'</span>
    <span data-if="c" style="display:none">"auto"</span>
    <span data-if="cpp" style="display:none">"auto"</span>
    <span data-if="com" style="display:none">"auto"</span>
    <span data-if="dotnet" style="display:none">"auto"</span>
    <span data-if="python" style="display:none">"auto"</span>
</p>
<p class="pardesc"><span class="parcat">List of values:
      </span>1, 2, 3, 4, 5, 6, 7, 8, 9, 10, <span data-if="hdevelop" style="display:inline">'auto'</span><span data-if="c" style="display:none">"auto"</span><span data-if="cpp" style="display:none">"auto"</span><span data-if="com" style="display:none">"auto"</span><span data-if="dotnet" style="display:none">"auto"</span><span data-if="python" style="display:none">"auto"</span></p>
</div>
  <div class="par">
<div class="parhead">
<span id="AngleStart" class="parname"><b><code><span data-if="hdevelop" style="display:inline">AngleStart</span><span data-if="c" style="display:none">AngleStart</span><span data-if="cpp" style="display:none">AngleStart</span><span data-if="com" style="display:none">AngleStart</span><span data-if="dotnet" style="display:none">angleStart</span><span data-if="python" style="display:none">angle_start</span></code></b> (input_control)  </span><span>angle.rad <code>→</code> <span data-if="dotnet" style="display:none"><a href="HTuple.html">HTuple</a></span><span data-if="python" style="display:none">float</span><span data-if="cpp" style="display:none"><a href="HTuple.html">HTuple</a></span><span data-if="c" style="display:none">Htuple</span><span data-if="hdevelop" style="display:inline"> (real)</span><span data-if="dotnet" style="display:none"> (<i>double</i>)</span><span data-if="cpp" style="display:none"> (<i>double</i>)</span><span data-if="c" style="display:none"> (<i>double</i>)</span></span>
</div>
<p class="pardesc">Smallest rotation of the pattern.</p>
<p class="pardesc"><span class="parcat">Default:
      </span>-0.39</p>
<p class="pardesc"><span class="parcat">Suggested values:
      </span>-3.14, -1.57, -0.79, -0.39, -0.20, 0.0</p>
</div>
  <div class="par">
<div class="parhead">
<span id="AngleExtent" class="parname"><b><code><span data-if="hdevelop" style="display:inline">AngleExtent</span><span data-if="c" style="display:none">AngleExtent</span><span data-if="cpp" style="display:none">AngleExtent</span><span data-if="com" style="display:none">AngleExtent</span><span data-if="dotnet" style="display:none">angleExtent</span><span data-if="python" style="display:none">angle_extent</span></code></b> (input_control)  </span><span>angle.rad <code>→</code> <span data-if="dotnet" style="display:none"><a href="HTuple.html">HTuple</a></span><span data-if="python" style="display:none">float</span><span data-if="cpp" style="display:none"><a href="HTuple.html">HTuple</a></span><span data-if="c" style="display:none">Htuple</span><span data-if="hdevelop" style="display:inline"> (real)</span><span data-if="dotnet" style="display:none"> (<i>double</i>)</span><span data-if="cpp" style="display:none"> (<i>double</i>)</span><span data-if="c" style="display:none"> (<i>double</i>)</span></span>
</div>
<p class="pardesc">Extent of the rotation angles.</p>
<p class="pardesc"><span class="parcat">Default:
      </span>0.79</p>
<p class="pardesc"><span class="parcat">Suggested values:
      </span>6.29, 3.14, 1.57, 0.79, 0.39</p>
<p class="pardesc"><span class="parcat">Restriction:
      </span><code>AngleExtent &gt;= 0</code></p>
</div>
  <div class="par">
<div class="parhead">
<span id="AngleStep" class="parname"><b><code><span data-if="hdevelop" style="display:inline">AngleStep</span><span data-if="c" style="display:none">AngleStep</span><span data-if="cpp" style="display:none">AngleStep</span><span data-if="com" style="display:none">AngleStep</span><span data-if="dotnet" style="display:none">angleStep</span><span data-if="python" style="display:none">angle_step</span></code></b> (input_control)  </span><span>angle.rad <code>→</code> <span data-if="dotnet" style="display:none"><a href="HTuple.html">HTuple</a></span><span data-if="python" style="display:none">Union[float, str]</span><span data-if="cpp" style="display:none"><a href="HTuple.html">HTuple</a></span><span data-if="c" style="display:none">Htuple</span><span data-if="hdevelop" style="display:inline"> (real / </span><span data-if="hdevelop" style="display:inline">string)</span><span data-if="dotnet" style="display:none"> (<i>double</i> / </span><span data-if="dotnet" style="display:none">string)</span><span data-if="cpp" style="display:none"> (<i>double</i> / </span><span data-if="cpp" style="display:none">HString)</span><span data-if="c" style="display:none"> (<i>double</i> / </span><span data-if="c" style="display:none">char*)</span></span>
</div>
<p class="pardesc">Step length of the angles (resolution).</p>
<p class="pardesc"><span class="parcat">Default:
      </span>
    <span data-if="hdevelop" style="display:inline">'auto'</span>
    <span data-if="c" style="display:none">"auto"</span>
    <span data-if="cpp" style="display:none">"auto"</span>
    <span data-if="com" style="display:none">"auto"</span>
    <span data-if="dotnet" style="display:none">"auto"</span>
    <span data-if="python" style="display:none">"auto"</span>
</p>
<p class="pardesc"><span class="parcat">Suggested values:
      </span><span data-if="hdevelop" style="display:inline">'auto'</span><span data-if="c" style="display:none">"auto"</span><span data-if="cpp" style="display:none">"auto"</span><span data-if="com" style="display:none">"auto"</span><span data-if="dotnet" style="display:none">"auto"</span><span data-if="python" style="display:none">"auto"</span>, 0.0175, 0.0349, 0.0524, 0.0698, 0.0873</p>
<p class="pardesc"><span class="parcat">Restriction:
      </span><code>AngleStep &gt;= 0 &amp;&amp; AngleStep &lt;= pi / 2</code></p>
</div>
  <div class="par">
<div class="parhead">
<span id="ScaleMin" class="parname"><b><code><span data-if="hdevelop" style="display:inline">ScaleMin</span><span data-if="c" style="display:none">ScaleMin</span><span data-if="cpp" style="display:none">ScaleMin</span><span data-if="com" style="display:none">ScaleMin</span><span data-if="dotnet" style="display:none">scaleMin</span><span data-if="python" style="display:none">scale_min</span></code></b> (input_control)  </span><span>number <code>→</code> <span data-if="dotnet" style="display:none"><a href="HTuple.html">HTuple</a></span><span data-if="python" style="display:none">float</span><span data-if="cpp" style="display:none"><a href="HTuple.html">HTuple</a></span><span data-if="c" style="display:none">Htuple</span><span data-if="hdevelop" style="display:inline"> (real)</span><span data-if="dotnet" style="display:none"> (<i>double</i>)</span><span data-if="cpp" style="display:none"> (<i>double</i>)</span><span data-if="c" style="display:none"> (<i>double</i>)</span></span>
</div>
<p class="pardesc">Minimum scale of the pattern.</p>
<p class="pardesc"><span class="parcat">Default:
      </span>0.9</p>
<p class="pardesc"><span class="parcat">Suggested values:
      </span>0.5, 0.6, 0.7, 0.8, 0.9, 1.0</p>
<p class="pardesc"><span class="parcat">Restriction:
      </span><code>ScaleMin &gt; 0</code></p>
</div>
  <div class="par">
<div class="parhead">
<span id="ScaleMax" class="parname"><b><code><span data-if="hdevelop" style="display:inline">ScaleMax</span><span data-if="c" style="display:none">ScaleMax</span><span data-if="cpp" style="display:none">ScaleMax</span><span data-if="com" style="display:none">ScaleMax</span><span data-if="dotnet" style="display:none">scaleMax</span><span data-if="python" style="display:none">scale_max</span></code></b> (input_control)  </span><span>number <code>→</code> <span data-if="dotnet" style="display:none"><a href="HTuple.html">HTuple</a></span><span data-if="python" style="display:none">float</span><span data-if="cpp" style="display:none"><a href="HTuple.html">HTuple</a></span><span data-if="c" style="display:none">Htuple</span><span data-if="hdevelop" style="display:inline"> (real)</span><span data-if="dotnet" style="display:none"> (<i>double</i>)</span><span data-if="cpp" style="display:none"> (<i>double</i>)</span><span data-if="c" style="display:none"> (<i>double</i>)</span></span>
</div>
<p class="pardesc">Maximum scale of the pattern.</p>
<p class="pardesc"><span class="parcat">Default:
      </span>1.1</p>
<p class="pardesc"><span class="parcat">Suggested values:
      </span>1.0, 1.1, 1.2, 1.3, 1.4, 1.5</p>
<p class="pardesc"><span class="parcat">Restriction:
      </span><code>ScaleMax &gt;= ScaleMin</code></p>
</div>
  <div class="par">
<div class="parhead">
<span id="ScaleStep" class="parname"><b><code><span data-if="hdevelop" style="display:inline">ScaleStep</span><span data-if="c" style="display:none">ScaleStep</span><span data-if="cpp" style="display:none">ScaleStep</span><span data-if="com" style="display:none">ScaleStep</span><span data-if="dotnet" style="display:none">scaleStep</span><span data-if="python" style="display:none">scale_step</span></code></b> (input_control)  </span><span>number <code>→</code> <span data-if="dotnet" style="display:none"><a href="HTuple.html">HTuple</a></span><span data-if="python" style="display:none">Union[float, str]</span><span data-if="cpp" style="display:none"><a href="HTuple.html">HTuple</a></span><span data-if="c" style="display:none">Htuple</span><span data-if="hdevelop" style="display:inline"> (real / </span><span data-if="hdevelop" style="display:inline">string)</span><span data-if="dotnet" style="display:none"> (<i>double</i> / </span><span data-if="dotnet" style="display:none">string)</span><span data-if="cpp" style="display:none"> (<i>double</i> / </span><span data-if="cpp" style="display:none">HString)</span><span data-if="c" style="display:none"> (<i>double</i> / </span><span data-if="c" style="display:none">char*)</span></span>
</div>
<p class="pardesc">Scale step length (resolution).</p>
<p class="pardesc"><span class="parcat">Default:
      </span>
    <span data-if="hdevelop" style="display:inline">'auto'</span>
    <span data-if="c" style="display:none">"auto"</span>
    <span data-if="cpp" style="display:none">"auto"</span>
    <span data-if="com" style="display:none">"auto"</span>
    <span data-if="dotnet" style="display:none">"auto"</span>
    <span data-if="python" style="display:none">"auto"</span>
</p>
<p class="pardesc"><span class="parcat">Suggested values:
      </span><span data-if="hdevelop" style="display:inline">'auto'</span><span data-if="c" style="display:none">"auto"</span><span data-if="cpp" style="display:none">"auto"</span><span data-if="com" style="display:none">"auto"</span><span data-if="dotnet" style="display:none">"auto"</span><span data-if="python" style="display:none">"auto"</span>, 0.01, 0.02, 0.05, 0.1, 0.15, 0.2</p>
<p class="pardesc"><span class="parcat">Restriction:
      </span><code>ScaleStep &gt;= 0</code></p>
</div>
  <div class="par">
<div class="parhead">
<span id="Optimization" class="parname"><b><code><span data-if="hdevelop" style="display:inline">Optimization</span><span data-if="c" style="display:none">Optimization</span><span data-if="cpp" style="display:none">Optimization</span><span data-if="com" style="display:none">Optimization</span><span data-if="dotnet" style="display:none">optimization</span><span data-if="python" style="display:none">optimization</span></code></b> (input_control)  </span><span>string(-array) <code>→</code> <span data-if="dotnet" style="display:none"><a href="HTuple.html">HTuple</a></span><span data-if="python" style="display:none">MaybeSequence[str]</span><span data-if="cpp" style="display:none"><a href="HTuple.html">HTuple</a></span><span data-if="c" style="display:none">Htuple</span><span data-if="hdevelop" style="display:inline"> (string)</span><span data-if="dotnet" style="display:none"> (<i>string</i>)</span><span data-if="cpp" style="display:none"> (<i>HString</i>)</span><span data-if="c" style="display:none"> (<i>char*</i>)</span></span>
</div>
<p class="pardesc">Kind of optimization and optionally method used
for generating the model.</p>
<p class="pardesc"><span class="parcat">Default:
      </span>
    <span data-if="hdevelop" style="display:inline">'auto'</span>
    <span data-if="c" style="display:none">"auto"</span>
    <span data-if="cpp" style="display:none">"auto"</span>
    <span data-if="com" style="display:none">"auto"</span>
    <span data-if="dotnet" style="display:none">"auto"</span>
    <span data-if="python" style="display:none">"auto"</span>
</p>
<p class="pardesc"><span class="parcat">List of values:
      </span><span data-if="hdevelop" style="display:inline">'auto'</span><span data-if="c" style="display:none">"auto"</span><span data-if="cpp" style="display:none">"auto"</span><span data-if="com" style="display:none">"auto"</span><span data-if="dotnet" style="display:none">"auto"</span><span data-if="python" style="display:none">"auto"</span>, <span data-if="hdevelop" style="display:inline">'no_pregeneration'</span><span data-if="c" style="display:none">"no_pregeneration"</span><span data-if="cpp" style="display:none">"no_pregeneration"</span><span data-if="com" style="display:none">"no_pregeneration"</span><span data-if="dotnet" style="display:none">"no_pregeneration"</span><span data-if="python" style="display:none">"no_pregeneration"</span>, <span data-if="hdevelop" style="display:inline">'none'</span><span data-if="c" style="display:none">"none"</span><span data-if="cpp" style="display:none">"none"</span><span data-if="com" style="display:none">"none"</span><span data-if="dotnet" style="display:none">"none"</span><span data-if="python" style="display:none">"none"</span>, <span data-if="hdevelop" style="display:inline">'point_reduction_high'</span><span data-if="c" style="display:none">"point_reduction_high"</span><span data-if="cpp" style="display:none">"point_reduction_high"</span><span data-if="com" style="display:none">"point_reduction_high"</span><span data-if="dotnet" style="display:none">"point_reduction_high"</span><span data-if="python" style="display:none">"point_reduction_high"</span>, <span data-if="hdevelop" style="display:inline">'point_reduction_low'</span><span data-if="c" style="display:none">"point_reduction_low"</span><span data-if="cpp" style="display:none">"point_reduction_low"</span><span data-if="com" style="display:none">"point_reduction_low"</span><span data-if="dotnet" style="display:none">"point_reduction_low"</span><span data-if="python" style="display:none">"point_reduction_low"</span>, <span data-if="hdevelop" style="display:inline">'point_reduction_medium'</span><span data-if="c" style="display:none">"point_reduction_medium"</span><span data-if="cpp" style="display:none">"point_reduction_medium"</span><span data-if="com" style="display:none">"point_reduction_medium"</span><span data-if="dotnet" style="display:none">"point_reduction_medium"</span><span data-if="python" style="display:none">"point_reduction_medium"</span>, <span data-if="hdevelop" style="display:inline">'pregeneration'</span><span data-if="c" style="display:none">"pregeneration"</span><span data-if="cpp" style="display:none">"pregeneration"</span><span data-if="com" style="display:none">"pregeneration"</span><span data-if="dotnet" style="display:none">"pregeneration"</span><span data-if="python" style="display:none">"pregeneration"</span></p>
</div>
  <div class="par">
<div class="parhead">
<span id="Metric" class="parname"><b><code><span data-if="hdevelop" style="display:inline">Metric</span><span data-if="c" style="display:none">Metric</span><span data-if="cpp" style="display:none">Metric</span><span data-if="com" style="display:none">Metric</span><span data-if="dotnet" style="display:none">metric</span><span data-if="python" style="display:none">metric</span></code></b> (input_control)  </span><span>string <code>→</code> <span data-if="dotnet" style="display:none"><a href="HTuple.html">HTuple</a></span><span data-if="python" style="display:none">str</span><span data-if="cpp" style="display:none"><a href="HTuple.html">HTuple</a></span><span data-if="c" style="display:none">Htuple</span><span data-if="hdevelop" style="display:inline"> (string)</span><span data-if="dotnet" style="display:none"> (<i>string</i>)</span><span data-if="cpp" style="display:none"> (<i>HString</i>)</span><span data-if="c" style="display:none"> (<i>char*</i>)</span></span>
</div>
<p class="pardesc">Match metric.</p>
<p class="pardesc"><span class="parcat">Default:
      </span>
    <span data-if="hdevelop" style="display:inline">'ignore_local_polarity'</span>
    <span data-if="c" style="display:none">"ignore_local_polarity"</span>
    <span data-if="cpp" style="display:none">"ignore_local_polarity"</span>
    <span data-if="com" style="display:none">"ignore_local_polarity"</span>
    <span data-if="dotnet" style="display:none">"ignore_local_polarity"</span>
    <span data-if="python" style="display:none">"ignore_local_polarity"</span>
</p>
<p class="pardesc"><span class="parcat">List of values:
      </span><span data-if="hdevelop" style="display:inline">'ignore_color_polarity'</span><span data-if="c" style="display:none">"ignore_color_polarity"</span><span data-if="cpp" style="display:none">"ignore_color_polarity"</span><span data-if="com" style="display:none">"ignore_color_polarity"</span><span data-if="dotnet" style="display:none">"ignore_color_polarity"</span><span data-if="python" style="display:none">"ignore_color_polarity"</span>, <span data-if="hdevelop" style="display:inline">'ignore_global_polarity'</span><span data-if="c" style="display:none">"ignore_global_polarity"</span><span data-if="cpp" style="display:none">"ignore_global_polarity"</span><span data-if="com" style="display:none">"ignore_global_polarity"</span><span data-if="dotnet" style="display:none">"ignore_global_polarity"</span><span data-if="python" style="display:none">"ignore_global_polarity"</span>, <span data-if="hdevelop" style="display:inline">'ignore_local_polarity'</span><span data-if="c" style="display:none">"ignore_local_polarity"</span><span data-if="cpp" style="display:none">"ignore_local_polarity"</span><span data-if="com" style="display:none">"ignore_local_polarity"</span><span data-if="dotnet" style="display:none">"ignore_local_polarity"</span><span data-if="python" style="display:none">"ignore_local_polarity"</span>, <span data-if="hdevelop" style="display:inline">'use_polarity'</span><span data-if="c" style="display:none">"use_polarity"</span><span data-if="cpp" style="display:none">"use_polarity"</span><span data-if="com" style="display:none">"use_polarity"</span><span data-if="dotnet" style="display:none">"use_polarity"</span><span data-if="python" style="display:none">"use_polarity"</span></p>
</div>
  <div class="par">
<div class="parhead">
<span id="MinContrast" class="parname"><b><code><span data-if="hdevelop" style="display:inline">MinContrast</span><span data-if="c" style="display:none">MinContrast</span><span data-if="cpp" style="display:none">MinContrast</span><span data-if="com" style="display:none">MinContrast</span><span data-if="dotnet" style="display:none">minContrast</span><span data-if="python" style="display:none">min_contrast</span></code></b> (input_control)  </span><span>number <code>→</code> <span data-if="dotnet" style="display:none"><a href="HTuple.html">HTuple</a></span><span data-if="python" style="display:none">int</span><span data-if="cpp" style="display:none"><a href="HTuple.html">HTuple</a></span><span data-if="c" style="display:none">Htuple</span><span data-if="hdevelop" style="display:inline"> (integer)</span><span data-if="dotnet" style="display:none"> (<i>int</i> / </span><span data-if="dotnet" style="display:none">long)</span><span data-if="cpp" style="display:none"> (<i>Hlong</i>)</span><span data-if="c" style="display:none"> (<i>Hlong</i>)</span></span>
</div>
<p class="pardesc">Minimum contrast of the objects in the search images.</p>
<p class="pardesc"><span class="parcat">Default:
      </span>5</p>
<p class="pardesc"><span class="parcat">Suggested values:
      </span>1, 2, 3, 5, 7, 10, 20, 30, 40</p>
</div>
  <div class="par">
<div class="parhead">
<span id="ModelID" class="parname"><b><code><span data-if="hdevelop" style="display:inline">ModelID</span><span data-if="c" style="display:none">ModelID</span><span data-if="cpp" style="display:none">ModelID</span><span data-if="com" style="display:none">ModelID</span><span data-if="dotnet" style="display:none">modelID</span><span data-if="python" style="display:none">model_id</span></code></b> (output_control)  </span><span>shape_model <code>→</code> <span data-if="dotnet" style="display:none"><a href="HShapeModel.html">HShapeModel</a>, </span><span data-if="dotnet" style="display:none"><a href="HTuple.html">HTuple</a></span><span data-if="python" style="display:none">HHandle</span><span data-if="cpp" style="display:none"><a href="HTuple.html">HTuple</a></span><span data-if="c" style="display:none">Htuple</span><span data-if="hdevelop" style="display:inline"> (handle)</span><span data-if="dotnet" style="display:none"> (<i>IntPtr</i>)</span><span data-if="cpp" style="display:none"> (<i>HHandle</i>)</span><span data-if="c" style="display:none"> (<i>handle</i>)</span></span>
</div>
<p class="pardesc">Handle of the model.</p>
</div>
<h2 id="sec_result">结果</h2>
<p>如果参数均有效，算子
<code><span data-if="hdevelop" style="display:inline">create_scaled_shape_model_xld</span><span data-if="c" style="display:none">create_scaled_shape_model_xld</span><span data-if="cpp" style="display:none">CreateScaledShapeModelXld</span><span data-if="com" style="display:none">CreateScaledShapeModelXld</span><span data-if="dotnet" style="display:none">CreateScaledShapeModelXld</span><span data-if="python" style="display:none">create_scaled_shape_model_xld</span></code> 返回值 <TT>2</TT> (
      <TT>H_MSG_TRUE</TT>)
    .  If necessary
an exception is raised.  If the parameter <a href="#NumLevels"><i><code><span data-if="hdevelop" style="display:inline">NumLevels</span><span data-if="c" style="display:none">NumLevels</span><span data-if="cpp" style="display:none">NumLevels</span><span data-if="com" style="display:none">NumLevels</span><span data-if="dotnet" style="display:none">numLevels</span><span data-if="python" style="display:none">num_levels</span></code></i></a> is chosen such
that the model contains too few points, the error 8510 is raised.</p>
<h2 id="sec_predecessors">可能的前置算子</h2>
<p>
<code><a href="read_contour_xld_dxf.html"><span data-if="hdevelop" style="display:inline">read_contour_xld_dxf</span><span data-if="c" style="display:none">read_contour_xld_dxf</span><span data-if="cpp" style="display:none">ReadContourXldDxf</span><span data-if="com" style="display:none">ReadContourXldDxf</span><span data-if="dotnet" style="display:none">ReadContourXldDxf</span><span data-if="python" style="display:none">read_contour_xld_dxf</span></a></code>, 
<code><a href="edges_sub_pix.html"><span data-if="hdevelop" style="display:inline">edges_sub_pix</span><span data-if="c" style="display:none">edges_sub_pix</span><span data-if="cpp" style="display:none">EdgesSubPix</span><span data-if="com" style="display:none">EdgesSubPix</span><span data-if="dotnet" style="display:none">EdgesSubPix</span><span data-if="python" style="display:none">edges_sub_pix</span></a></code>, 
<code><a href="select_contours_xld.html"><span data-if="hdevelop" style="display:inline">select_contours_xld</span><span data-if="c" style="display:none">select_contours_xld</span><span data-if="cpp" style="display:none">SelectContoursXld</span><span data-if="com" style="display:none">SelectContoursXld</span><span data-if="dotnet" style="display:none">SelectContoursXld</span><span data-if="python" style="display:none">select_contours_xld</span></a></code>
</p>
<h2 id="sec_successors">可能的后置算子</h2>
<p>
<code><a href="find_scaled_shape_model.html"><span data-if="hdevelop" style="display:inline">find_scaled_shape_model</span><span data-if="c" style="display:none">find_scaled_shape_model</span><span data-if="cpp" style="display:none">FindScaledShapeModel</span><span data-if="com" style="display:none">FindScaledShapeModel</span><span data-if="dotnet" style="display:none">FindScaledShapeModel</span><span data-if="python" style="display:none">find_scaled_shape_model</span></a></code>, 
<code><a href="find_scaled_shape_models.html"><span data-if="hdevelop" style="display:inline">find_scaled_shape_models</span><span data-if="c" style="display:none">find_scaled_shape_models</span><span data-if="cpp" style="display:none">FindScaledShapeModels</span><span data-if="com" style="display:none">FindScaledShapeModels</span><span data-if="dotnet" style="display:none">FindScaledShapeModels</span><span data-if="python" style="display:none">find_scaled_shape_models</span></a></code>, 
<code><a href="get_shape_model_params.html"><span data-if="hdevelop" style="display:inline">get_shape_model_params</span><span data-if="c" style="display:none">get_shape_model_params</span><span data-if="cpp" style="display:none">GetShapeModelParams</span><span data-if="com" style="display:none">GetShapeModelParams</span><span data-if="dotnet" style="display:none">GetShapeModelParams</span><span data-if="python" style="display:none">get_shape_model_params</span></a></code>, 
<code><a href="clear_shape_model.html"><span data-if="hdevelop" style="display:inline">clear_shape_model</span><span data-if="c" style="display:none">clear_shape_model</span><span data-if="cpp" style="display:none">ClearShapeModel</span><span data-if="com" style="display:none">ClearShapeModel</span><span data-if="dotnet" style="display:none">ClearShapeModel</span><span data-if="python" style="display:none">clear_shape_model</span></a></code>, 
<code><a href="write_shape_model.html"><span data-if="hdevelop" style="display:inline">write_shape_model</span><span data-if="c" style="display:none">write_shape_model</span><span data-if="cpp" style="display:none">WriteShapeModel</span><span data-if="com" style="display:none">WriteShapeModel</span><span data-if="dotnet" style="display:none">WriteShapeModel</span><span data-if="python" style="display:none">write_shape_model</span></a></code>, 
<code><a href="set_shape_model_origin.html"><span data-if="hdevelop" style="display:inline">set_shape_model_origin</span><span data-if="c" style="display:none">set_shape_model_origin</span><span data-if="cpp" style="display:none">SetShapeModelOrigin</span><span data-if="com" style="display:none">SetShapeModelOrigin</span><span data-if="dotnet" style="display:none">SetShapeModelOrigin</span><span data-if="python" style="display:none">set_shape_model_origin</span></a></code>, 
<code><a href="set_shape_model_param.html"><span data-if="hdevelop" style="display:inline">set_shape_model_param</span><span data-if="c" style="display:none">set_shape_model_param</span><span data-if="cpp" style="display:none">SetShapeModelParam</span><span data-if="com" style="display:none">SetShapeModelParam</span><span data-if="dotnet" style="display:none">SetShapeModelParam</span><span data-if="python" style="display:none">set_shape_model_param</span></a></code>, 
<code><a href="set_shape_model_metric.html"><span data-if="hdevelop" style="display:inline">set_shape_model_metric</span><span data-if="c" style="display:none">set_shape_model_metric</span><span data-if="cpp" style="display:none">SetShapeModelMetric</span><span data-if="com" style="display:none">SetShapeModelMetric</span><span data-if="dotnet" style="display:none">SetShapeModelMetric</span><span data-if="python" style="display:none">set_shape_model_metric</span></a></code>, 
<code><a href="set_shape_model_clutter.html"><span data-if="hdevelop" style="display:inline">set_shape_model_clutter</span><span data-if="c" style="display:none">set_shape_model_clutter</span><span data-if="cpp" style="display:none">SetShapeModelClutter</span><span data-if="com" style="display:none">SetShapeModelClutter</span><span data-if="dotnet" style="display:none">SetShapeModelClutter</span><span data-if="python" style="display:none">set_shape_model_clutter</span></a></code>
</p>
<h2 id="sec_alternatives">可替代算子</h2>
<p>
<code><a href="create_generic_shape_model.html"><span data-if="hdevelop" style="display:inline">create_generic_shape_model</span><span data-if="c" style="display:none">create_generic_shape_model</span><span data-if="cpp" style="display:none">CreateGenericShapeModel</span><span data-if="com" style="display:none">CreateGenericShapeModel</span><span data-if="dotnet" style="display:none">CreateGenericShapeModel</span><span data-if="python" style="display:none">create_generic_shape_model</span></a></code>
</p>
<h2 id="sec_see">参考其它</h2>
<p>
<code><a href="set_system.html"><span data-if="hdevelop" style="display:inline">set_system</span><span data-if="c" style="display:none">set_system</span><span data-if="cpp" style="display:none">SetSystem</span><span data-if="com" style="display:none">SetSystem</span><span data-if="dotnet" style="display:none">SetSystem</span><span data-if="python" style="display:none">set_system</span></a></code>, 
<code><a href="get_system.html"><span data-if="hdevelop" style="display:inline">get_system</span><span data-if="c" style="display:none">get_system</span><span data-if="cpp" style="display:none">GetSystem</span><span data-if="com" style="display:none">GetSystem</span><span data-if="dotnet" style="display:none">GetSystem</span><span data-if="python" style="display:none">get_system</span></a></code>
</p>
<h2 id="sec_module">模块</h2>
<p>
Matching</p>
<!--OP_REF_FOOTER_START-->
<hr>
<div class="indexlink">
<a href="index_classes.html"><span data-if="dotnet" style="display:none;">类别</span><span data-if="cpp" style="display:none;">类别</span></a><span data-if="dotnet" style="display:none;"> | </span><span data-if="cpp" style="display:none;"> | </span><a href="index_by_name.html">算子列表</a>
</div>
<div class="footer">
<div class="copyright">HALCON算子参考手册 Copyright © 2015-2023 51Halcon</div>
</div>
</div>
</body>
</html>
